• Ken Rockot's avatar
    syscall: add tty support to StartProcess · c8443d72
    Ken Rockot authored
    These changes add a Ctty int field to the Unix syscall.ProcAttr which,
    if set >= 0 in conjuction with Setsid=true, will be used by
    forkAndExecInChild as the file descriptor for the new child's
    controlling terminal.
    
    Necessary changes have been made to mkerrors.sh to generate defs for
    TIOC*, though changes to its output files are not included here.
    The changes made should support Linux, FreeBSD and Darwin, at least.
    
    R=iant, bradfitz, r, rsc, borman
    CC=golang-dev
    https://golang.org/cl/4532075
    c8443d72
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.inc Loading commit data...
Make.pkg Loading commit data...
all-qemu.bash Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...