diff options
author | 2014-01-12 21:18:52 +0000 | |
---|---|---|
committer | 2014-01-12 21:18:52 +0000 | |
commit | 9831e76d1bb51f2ef31a65aab4670d0a82a670b3 (patch) | |
tree | af0f4f0b3ac5d128b828d3442e0d947fb96d2785 /sys/kern | |
parent | revert back to 1.97 (diff) | |
download | wireguard-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