diff options
author | 2005-08-10 00:42:09 +0000 | |
---|---|---|
committer | 2005-08-10 00:42:09 +0000 | |
commit | 216057176319f8319226857e007bafb3093c183a (patch) | |
tree | 62a9a0d8847114000296dc80afa63eeffceb188a /lib/libc/sys | |
parent | Adjust for new signal trampoline. (diff) | |
download | wireguard-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