summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-load-buffer.c
diff options
context:
space:
mode:
authornatano <natano@openbsd.org>2016-03-04 16:48:13 +0000
committernatano <natano@openbsd.org>2016-03-04 16:48:13 +0000
commit282b05451cd4fe5f85cb0f29acc3232bae2291f3 (patch)
tree4930cc48594db62cca74dc45f9359f81acbafd07 /usr.bin/tmux/cmd-load-buffer.c
parentfix broken list (diff)
downloadwireguard-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