]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Invoke mac_check_vnode_mmap() during mmap operations on vnodes,
authorRobert Watson <rwatson@FreeBSD.org>
Tue, 22 Oct 2002 15:56:44 +0000 (15:56 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Tue, 22 Oct 2002 15:56:44 +0000 (15:56 +0000)
commit3e732e7d7d39d56c3509496a4df311566f5f6f60
tree6b5ec1a785f0c6d547fbfb404b472a6c2a313698
parent1cbfd977fdaf8581569f097b51c4a3d8e386aa0b
Invoke mac_check_vnode_mmap() during mmap operations on vnodes,
permitting policies to restrict access to memory mapping based on
the credential requesting the mapping, the target vnode, the
requested rights, or other policy considerations.

Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
sys/vm/vm_mmap.c