Rename tame() to pledge(). This fairly interface has evolved to be more
authorderaadt <deraadt@openbsd.org>
Fri, 9 Oct 2015 01:10:27 +0000 (01:10 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 9 Oct 2015 01:10:27 +0000 (01:10 +0000)
commitdf174574d401c5c122a73e20e0b23ac91a73c4b1
treed0c7d0d93f49ae2e4be87da49534a619a719af8a
parent4af38e7f62c96afb236cddf4be3cd6068c4773b4
Rename tame() to pledge().  This fairly interface has evolved to be more
strict than anticipated.  It allows a programmer to pledge/promise/covenant
that their program will operate within an easily defined subset of the
Unix environment, or it pays the price.
19 files changed:
sys/kern/kern_exec.c
sys/kern/kern_exit.c
sys/kern/kern_fork.c
sys/kern/kern_ktrace.c
sys/kern/kern_sig.c
sys/kern/kern_sysctl.c
sys/kern/kern_tame.c
sys/kern/kern_time.c
sys/kern/syscalls.master
sys/kern/uipc_syscalls.c
sys/kern/uipc_usrreq.c
sys/kern/vfs_lookup.c
sys/kern/vfs_syscalls.c
sys/netinet/in_pcb.c
sys/netinet6/in6_pcb.c
sys/sys/pledge.h [new file with mode: 0644]
sys/sys/proc.h
sys/sys/tame.h [deleted file]
sys/uvm/uvm_mmap.c