summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-01-12 21:18:52 +0000
committertedu <tedu@openbsd.org>2014-01-12 21:18:52 +0000
commit9831e76d1bb51f2ef31a65aab4670d0a82a670b3 (patch)
treeaf0f4f0b3ac5d128b828d3442e0d947fb96d2785 /sys/kern
parentrevert back to 1.97 (diff)
downloadwireguard-openbsd-9831e76d1bb51f2ef31a65aab4670d0a82a670b3.tar.xz
wireguard-openbsd-9831e76d1bb51f2ef31a65aab4670d0a82a670b3.zip
we only write to writable files, so use O_WRONLY.
st_size is only meaningful for regular files, so check S_ISREG
Diffstat (limited to 'sys/kern')
0 files changed, 0 insertions, 0 deletions