diff options
author | Rafael Zalamena <rzalamena@cvs.openbsd.org> | 2016-10-03 12:30:44 +0000 |
---|---|---|
committer | Rafael Zalamena <rzalamena@cvs.openbsd.org> | 2016-10-03 12:30:44 +0000 |
commit | ae60c1c6b0fa997314e9c82471a6e0ac2a7f1ea1 (patch) | |
tree | d083c7c24dcb1e38bada1c3514b1bfcf60ce2010 /sys/netinet/ip_ipcomp.h | |
parent | 77ba510b67f525bc2922ee3eb2b5df6b0eb4c199 (diff) |
Fix a possible bug that will happen with dup2() when oldd == newd. In that
case the dup2() would fail silently and the descriptor would remain with
the CLOEXEC flag causing the exec*()d child process to have unexpected
behavior.
ok guenther@
Diffstat (limited to 'sys/netinet/ip_ipcomp.h')
0 files changed, 0 insertions, 0 deletions