CVSROOT: /cvs Module name: src Changes by: b...@cvs.openbsd.org 2018/08/05 08:23:57
Modified files: sys/dev : diskmap.c sys/kern : exec_elf.c kern_exec.c kern_ktrace.c kern_unveil.c tty.c tty_pty.c vfs_syscalls.c sys/sys : namei.h proc.h Log message: Decouple unveil from the pledge flags, by adding dedicated unveil flags to the namei args. This fixes a bug where chmod would be allowed when with only READ. This also allows some further cleanup of some awkward things like PLEDGE_STAT that will follow Lots of assistence from semarie@ - thanks! ok semarie@