CVSROOT: /cvs Module name: src Changes by: dera...@cvs.openbsd.org 2021/11/15 10:14:51
Modified files: sys/kern : kern_pledge.c Log message: Copy p_p->ps_pledge into a local variable (called pledge) in every function which checks PLEDGE_* bits more than once. Some functions are called without locking, and this avoids misinterpreting bits which have some coupled behaviour. ok cheloha kettenis