CVSROOT: /cvs Module name: src Changes by: dera...@cvs.openbsd.org 2020/02/11 09:02:39
Modified files: sys/kern : kern_pledge.c Log message: 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