• Akshat Kumar's avatar
    syscall: fix duplicate fd bug for Plan 9 · 4cf577ed
    Akshat Kumar authored
    This change comes from CL 5536043,
    created by Andrey Mirtchovski. His
    description follows:
    
    "The plan9 exec child handler does not manage
    dup-ed fds from the parent correctly: when a
    dup-ed file descriptor appears in the child's fd
    list it is closed when first encountered and then
    subsequent attempt to dup it later in Pass 2 fails,
    resulting in 'fork/exec: fd out of range or not
    open'."
    
    R=golang-dev, rminnich, ality
    CC=golang-dev, mirtchovski, rsc
    https://golang.org/cl/6009046
    4cf577ed
Name
Last commit
Last update
api Loading commit data...
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...