diff options
author | 2016-03-04 16:48:13 +0000 | |
---|---|---|
committer | 2016-03-04 16:48:13 +0000 | |
commit | 282b05451cd4fe5f85cb0f29acc3232bae2291f3 (patch) | |
tree | 4930cc48594db62cca74dc45f9359f81acbafd07 /usr.bin/tmux/cmd-load-buffer.c | |
parent | fix broken list (diff) | |
download | wireguard-openbsd-282b05451cd4fe5f85cb0f29acc3232bae2291f3.tar.xz wireguard-openbsd-282b05451cd4fe5f85cb0f29acc3232bae2291f3.zip |
Invert the pledge() condition.
The only case where we don't want to pledge() is when a mode containing
the suid, sgid or sticky is is passed on the command line. mknod() in a
pledged binary would always strip those bits.
discussion and ok espie@
ok deraadt@ semarie@ tb@
Diffstat (limited to 'usr.bin/tmux/cmd-load-buffer.c')
0 files changed, 0 insertions, 0 deletions