CVSROOT: /cvs Module name: src Changes by: b...@cvs.openbsd.org 2019/05/13 16:55:27
Modified files: sys/kern : init_sysent.c kern_pledge.c syscalls.c syscalls.master vfs_getcwd.c vfs_lookup.c vfs_syscalls.c sys/sys : namei.h syscall.h syscallargs.h Log message: Add a kernel implementation of realpath() as __realpath(). We want this so that we can stop allowing readlink() on traversed vnodes in unveil(). This includes all the kernel side and the system call. This is not yet used in libc for realpath, so nothing calls this yet. The libc wrapper will be committed later. Testing by many, and ports build by naddy@ ok deraadt@