summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormjg <mjg@FreeBSD.org>2014-07-06 22:58:53 +0000
committermjg <mjg@FreeBSD.org>2014-07-06 22:58:53 +0000
commit134eeca7553ded4c64041465105cebf1c444c9ca (patch)
tree838db6b94fe7c8ad442a8406f6c522f0bab4be9f /lib/libc
parentc9bb8da01167a7b5ceaa16259e6b6bab943b7ea9 (diff)
downloadFreeBSD-src-134eeca7553ded4c64041465105cebf1c444c9ca.zip
FreeBSD-src-134eeca7553ded4c64041465105cebf1c444c9ca.tar.gz
MFC r267760:
Tidy up fd-related functions called by do_execve o assert in each one that fdp is not shared o remove unnecessary NULL checks - all userspace processes have fdtables and kernel processes cannot execve o remove comments about the danger of fd_ofiles getting reallocated - fdtable is not shared and fd_ofiles could be only reallocated if new fd was about to be added, but if that was possible the code would already be buggy as setugidsafety work could be undone
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud