diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-02-11 16:02:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-02-11 16:02:40 +0000 |
commit | ef1fe9b12ad2f899debe1137ba835d5fd5aeb1cd (patch) | |
tree | 63b126a19540d13265ea7e5504b04dc6d91c556b /usr.sbin/bgpd/rde.c | |
parent | 99e8946eed97cb8c89d9bc5e53f7ec8b2bbb4ea8 (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