freebsd-src/sys/security
Robert Watson e183f80e54 Sync from MAC tree: break out the single mmap entry point into
seperate entry points for each occasion:

mac_check_vnode_mmap()		Check at initial mapping
mac_check_vnode_mprotect()	Check at mapping protection change
mac_check_vnode_mmap_downgrade()	Determine if a mapping downgrade
					should take place following
					subject relabel.

Implement mmap() and mprotect() entry points for labeled vnode
policies.  These entry points are currently not hooked up to the
VM system in the base tree.  These changes improve the consistency
of the access control interface and offer more flexibility regarding
limiting access to vnode mmaping.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-06 02:46:26 +00:00
..
lomac - Use vrefcnt() instead of v_usecount. 2002-09-25 02:42:43 +00:00
mac Sync from MAC tree: break out the single mmap entry point into 2002-10-06 02:46:26 +00:00
mac_biba Sync from MAC tree: break out the single mmap entry point into 2002-10-06 02:46:26 +00:00
mac_bsdextended Merge implementation of mpo_check_vnode_link() for various appropriate 2002-10-05 18:25:48 +00:00
mac_ifoff Rename mac_check_socket_receive() to mac_check_socket_deliver() so that 2002-08-15 18:51:27 +00:00
mac_mls Sync from MAC tree: break out the single mmap entry point into 2002-10-06 02:46:26 +00:00
mac_none Sync from MAC tree: break out the single mmap entry point into 2002-10-06 02:46:26 +00:00
mac_seeotheruids Introduce support for Mandatory Access Control and extensible 2002-07-31 18:07:45 +00:00
mac_stub Sync from MAC tree: break out the single mmap entry point into 2002-10-06 02:46:26 +00:00
mac_test Sync from MAC tree: break out the single mmap entry point into 2002-10-06 02:46:26 +00:00