summaryrefslogtreecommitdiffstats
path: root/usr.sbin/switchd/proc.c
diff options
context:
space:
mode:
authorrzalamena <rzalamena@openbsd.org>2016-10-05 17:13:53 +0000
committerrzalamena <rzalamena@openbsd.org>2016-10-05 17:13:53 +0000
commit2584ffbfe8e69581e0985a78488cb99162c85ba8 (patch)
tree6dbe85fe36fb04d3a86613030ccb68281d62eab4 /usr.sbin/switchd/proc.c
parentCall setsid() to create a new session for the executed processes. (diff)
downloadwireguard-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