freebsd-nq/sys/security
Robert Watson 030a28b3b5 Introduce new MAC Framework and MAC Policy entry points to control the use
of system calls to manipulate elements of the process credential,
including:

        setuid()                mac_check_proc_setuid()
        seteuid()               mac_check_proc_seteuid()
        setgid()                mac_check_proc_setgid()
        setegid()               mac_check_proc_setegid()
        setgroups()             mac_check_proc_setgroups()
        setreuid()              mac_check_proc_setreuid()
        setregid()              mac_check_proc_setregid()
        setresuid()             mac_check_proc_setresuid()
        setresgid()             mac_check_rpoc_setresgid()

MAC checks are performed before other existing security checks; both
current credential and intended modifications are passed as arguments
to the entry points.  The mac_test and mac_stub policies are updated.

Submitted by:	Samy Al Bahra <samy@kerneled.org>
Obtained from:	TrustedBSD Project
2005-04-16 13:29:15 +00:00
..
mac Introduce new MAC Framework and MAC Policy entry points to control the use 2005-04-16 13:29:15 +00:00
mac_biba Move MAC check_vnode_mmap entry point out from being exclusive to 2005-04-14 16:03:30 +00:00
mac_bsdextended Minor white space synchronization and line wrapping. 2004-10-22 11:15:47 +00:00
mac_ifoff Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_lomac Move MAC check_vnode_mmap entry point out from being exclusive to 2005-04-14 16:03:30 +00:00
mac_mls Move MAC check_vnode_mmap entry point out from being exclusive to 2005-04-14 16:03:30 +00:00
mac_none Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_partition Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_portacl Add a new sysctl/tunable to mac_portacl: 2004-12-08 11:46:44 +00:00
mac_seeotheruids Exempt the superuser from mac_seeotheruids checks. 2005-01-03 12:08:18 +00:00
mac_stub Introduce new MAC Framework and MAC Policy entry points to control the use 2005-04-16 13:29:15 +00:00
mac_test Introduce new MAC Framework and MAC Policy entry points to control the use 2005-04-16 13:29:15 +00:00