CVSROOT: /cvs Module name: src Changes by: [email protected] 2022/06/29 06:06:11
Modified files:
sys/sys : syscall_mi.h
Log message:
Simplify the locking dance around pledge_syscall()
It doesn't make sense to wrap this function with the kernel lock only
when the syscall to be executed is itself locked. Instead
pledge_syscall() should be always safe to execute without the kernel
lock.
"looks good" kettenis@, ok deraadt@
