freebsd-dev/sys/security/mac_bsdextended
Robert Watson 177142e458 Pass active_cred and file_cred into the MAC framework explicitly
for mac_check_vnode_{poll,read,stat,write}().  Pass in fp->f_cred
when calling these checks with a struct file available.  Otherwise,
pass NOCRED.  All currently MAC policies use active_cred, but
could now offer the cached credential semantic used for the base
system security model.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-08-19 19:04:53 +00:00
..
mac_bsdextended.c
mac_bsdextended.h Introduce support for Mandatory Access Control and extensible 2002-07-31 18:07:45 +00:00