diff options
author | 2016-10-05 17:13:53 +0000 | |
---|---|---|
committer | 2016-10-05 17:13:53 +0000 | |
commit | 2584ffbfe8e69581e0985a78488cb99162c85ba8 (patch) | |
tree | 6dbe85fe36fb04d3a86613030ccb68281d62eab4 /usr.sbin/switchd/proc.c | |
parent | Call setsid() to create a new session for the executed processes. (diff) | |
download | wireguard-openbsd-2584ffbfe8e69581e0985a78488cb99162c85ba8.tar.xz wireguard-openbsd-2584ffbfe8e69581e0985a78488cb99162c85ba8.zip |
Check if oldd == newd before dup2(), if that is the case we need to remove
the CLOEXEC flag ourselves.
ok bluhm@, deraadt@
Diffstat (limited to 'usr.sbin/switchd/proc.c')
0 files changed, 0 insertions, 0 deletions