CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/11/01 12:03:33
Modified files:
sys/kern : kern_descrip.c kern_pledge.c kern_sig.c
kern_sysctl.c kern_time.c sys_generic.c
uipc_syscalls.c uipc_usrreq.c vfs_lookup.c
vfs_syscalls.c
sys/sys : pledge.h syscall_mi.h
sys/uvm : uvm_mmap.c uvm_swap.c
Log message:
refactor pledge_*_check and pledge_fail functions
- rename _check function without suffix: a "pledge" function called from
anywhere is a "check" function.
- makes pledge_fail call the responsability to the _check function. remove it
from caller.
- make proper use of (potential) returned error of _check() functions.
- adds pledge_kill() and pledge_protexec()
with and OK deraadt@