CVSROOT: /cvs Module name: src Changes by: [email protected] 2018/08/13 17:11:44
Modified files:
sys/sys : namei.h
sys/kern : vfs_lookup.c
Log message:
More clear version of previous namei/pledge/chroot solution. namei flag
KERNELPATH indicates this operation is being done on behalf of the kernel,
not a process, so ignore chroot of the current process context, start at /,
and skip unveil and pledge checks. Discussed with beck and semarie
