]> Cypherpunks repositories - gostls13.git/commit
syscall: work around FreeBSD execve kernel bug
authorDevon H. O'Dell <devon.odell@gmail.com>
Sun, 6 Mar 2011 19:57:05 +0000 (14:57 -0500)
committerRuss Cox <rsc@golang.org>
Sun, 6 Mar 2011 19:57:05 +0000 (14:57 -0500)
commiteeb8d00c867570a500029cd113e6e34119c54766
treed4f11d92905da6363212d04adf97a2777591dfb7
parent9e25eccf48338902740bae65a2e40f68a2b8a842
syscall: work around FreeBSD execve kernel bug

FreeBSD's execve implementation has an integer underflow in a bounds test which
causes it to erroneously think the argument list is too long when argv[0] is
longer than interpreter + path.

R=rsc, bradfitz, rsc1
CC=golang-dev
https://golang.org/cl/4259056
src/pkg/syscall/exec_unix.go