summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2005-08-10 00:42:09 +0000
committermillert <millert@openbsd.org>2005-08-10 00:42:09 +0000
commit216057176319f8319226857e007bafb3093c183a (patch)
tree62a9a0d8847114000296dc80afa63eeffceb188a /lib/libc/sys
parentAdjust for new signal trampoline. (diff)
downloadwireguard-openbsd-216057176319f8319226857e007bafb3093c183a.tar.xz
wireguard-openbsd-216057176319f8319226857e007bafb3093c183a.zip
Call open(2) with O_NONBLOCK and O_NOFOLLOW to make sure mtree can't
be halted by a FIFO or special device. Use fgetln() instead of fgets() to handle arbitrarily long lines. If a line starts with a comment char, don't check for line continuation char. Adapted from a diff by Solar Designer. OK deraadt@ henning@
Diffstat (limited to 'lib/libc/sys')
0 files changed, 0 insertions, 0 deletions