CVSROOT: /cvs Module name: src Changes by: j...@cvs.openbsd.org 2022/06/29 06:01:22
Modified files: sys/kern : kern_pledge.c Log message: Use READ_ONCE() when saving pr->ps_pledge to a local variable This prevents the compiler from reloading a possibly different value from memory. Even if it doesn't matter in this code it's just better practice. Discussed with kettenis@ and deraadt@, ok deraadt@