summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isc/unix/errno2result.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2020-02-11 16:02:39 +0000
committerderaadt <deraadt@openbsd.org>2020-02-11 16:02:39 +0000
commit7ef86f2a8ce29f830e957f408717427a5fb51c74 (patch)
tree4cbdce1e82fd3d5515b4095343e7f7368187efeb /usr.bin/dig/lib/isc/unix/errno2result.c
parentSome system calls can fail due to an open-ended variety of causes (diff)
downloadwireguard-openbsd-7ef86f2a8ce29f830e957f408717427a5fb51c74.tar.xz
wireguard-openbsd-7ef86f2a8ce29f830e957f408717427a5fb51c74.zip
the pledge_ioctl() rule checker is written in a style which could read
ps_pledge more than once. That will cause problems if sys_ioctl is changed to be unlocked (in at least some cases), so switch to a read-once local variable. discussed with a few, ok mpi
Diffstat (limited to 'usr.bin/dig/lib/isc/unix/errno2result.c')
0 files changed, 0 insertions, 0 deletions