• 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
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...