summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2020-02-11 16:02:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2020-02-11 16:02:40 +0000
commitef1fe9b12ad2f899debe1137ba835d5fd5aeb1cd (patch)
tree63b126a19540d13265ea7e5504b04dc6d91c556b /usr.sbin/bgpd/rde.c
parent99e8946eed97cb8c89d9bc5e53f7ec8b2bbb4ea8 (diff)
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.sbin/bgpd/rde.c')
0 files changed, 0 insertions, 0 deletions