summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/posix_pty.c
diff options
context:
space:
mode:
authorguenther <>2025-08-04 04:59:31 +0000
committerguenther <>2025-08-04 04:59:31 +0000
commitcc34b672c114e027e8e6bdb0c901bb4b2607ff3f (patch)
treed24aa432577a78ea21d815494fb1cda00d6ef8bc /src/lib/libc/stdlib/posix_pty.c
parent97f291299e43eb39dd2ecdc18098d938d467dac6 (diff)
downloadopenbsd-cc34b672c114e027e8e6bdb0c901bb4b2607ff3f.tar.gz
openbsd-cc34b672c114e027e8e6bdb0c901bb4b2607ff3f.tar.bz2
openbsd-cc34b672c114e027e8e6bdb0c901bb4b2607ff3f.zip
Implement the POSIX-2024 close-on-fork flag, but modified to be
reset on exec as preserving it across exec is not necessary for its original purpose and has security and usability concerns. Many thanks to Ricardo Branco (rbranco (at) suse.de) who did an independent implementation, caught that /dev/fd/* needed to be handled, and provided a port of the illumos test suite. Thanks to tb@ for assistance with that. ok deraadt@
Diffstat (limited to 'src/lib/libc/stdlib/posix_pty.c')
0 files changed, 0 insertions, 0 deletions