CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2021/07/16 01:59:38
Modified files: sys/kern : kern_unveil.c vfs_lookup.c vfs_syscalls.c sys/sys : proc.h Log message: Remove the unveil current directory pointer from struct process. Instead pass in the vnode to unveil_start_relative() like it is done for *at() syscalls. This fixes an issue with fchdir() that actually did not correctly reset this pointer when changing the working directory. OK beck@