CVSROOT:        /cvs
Module name:    src
Changes by:     sema...@cvs.openbsd.org 2015/11/02 09:31:55

Modified files:
        sys/kern       : exec_elf.c kern_exec.c kern_ktrace.c 
                         kern_pledge.c kern_sig.c tty.c tty_pty.c 
                         uipc_usrreq.c vfs_lookup.c vfs_syscalls.c 
        sys/sys        : namei.h pledge.h proc.h 

Log message:
move the pledgenote annotation from `struct proc' to `struct nameidata'

pledgenote is used for annotate the policy for a namei context. So make it
tracking the nameidata.

It is expected for the caller to explicitly define the policy. It is a kernel
bug to not do so.

ok deraadt@

Reply via email to