summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/signal.3
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-10-11 07:32:06 +0000
committerguenther <guenther@openbsd.org>2015-10-11 07:32:06 +0000
commit116a5cae52969a2c9d78d06ad3d89b6396ab42f7 (patch)
treef046447912a2f1931ad69ae2316f5193d556d857 /lib/libc/gen/signal.3
parentDocument that bind(2) and connect(2) ignore the incoming sa_len (diff)
downloadwireguard-openbsd-116a5cae52969a2c9d78d06ad3d89b6396ab42f7.tar.xz
wireguard-openbsd-116a5cae52969a2c9d78d06ad3d89b6396ab42f7.zip
Simplify and lock down priv_open():
* kill the 'mode' argument * fail if passed any flags other than O_ACCMODE OR O_NONBLOCK * paranoia: mask O_CREAT when calling open() with only two arguments * instead of using ioctl(FIONBIO) after the fact, pass O_NONBLOCK to priv_open() "good start" deraadt@ ok yasuoka@
Diffstat (limited to 'lib/libc/gen/signal.3')
0 files changed, 0 insertions, 0 deletions