diff options
author | 2010-05-23 18:44:14 +0000 | |
---|---|---|
committer | 2010-05-23 18:44:14 +0000 | |
commit | 0546d7618ff6dbee8f34e755e60c800f3cc3a2a1 (patch) | |
tree | e14f5c0ba95f0e50aa8f5738cf1b6ee092407cd7 /usr.bin/tmux/server-client.c | |
parent | Does not need -Dloongson, and instead, but -D__loongson__ is nice since that is (diff) | |
download | wireguard-openbsd-0546d7618ff6dbee8f34e755e60c800f3cc3a2a1.tar.xz wireguard-openbsd-0546d7618ff6dbee8f34e755e60c800f3cc3a2a1.zip |
When executing external mda, call dup2, closefrom, and chdir before
setresuid because after dropping superuser privileges the process
cannot be trusted to call these.
Thanks to oga@, kettenis@, and nicm@ for confirming my paranoia.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
0 files changed, 0 insertions, 0 deletions