summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exit.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2008-08-26 10:53:32 +0000
committerkib <kib@FreeBSD.org>2008-08-26 10:53:32 +0000
commit2d990eae0580f74b2aee49da3c6434c6224e084c (patch)
tree47bfdf1c555705341fbc8c52a90b0103dae4c384 /sys/kern/kern_exit.c
parent166aba1cac7a69c4dd3b699509db81eab23ac6f2 (diff)
downloadFreeBSD-src-2d990eae0580f74b2aee49da3c6434c6224e084c.zip
FreeBSD-src-2d990eae0580f74b2aee49da3c6434c6224e084c.tar.gz
When calculating arguments to the interpreter for the shebang script
executed by fexecve(2), imgp->args->fname is NULL. Moreover, there is no way to recover the path to the script being executed. Do what some other U*ixes do unconditionally, namely supply /dev/fd/n as the script path when called from fexecve(). Document requirement of having fdescfs mounted as caveat.
Diffstat (limited to 'sys/kern/kern_exit.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud