freebsd-nq/sys/security/mac_bsdextended
Robert Watson 9162f64b58 Rather than having MAC policies explicitly declare what object types
they label, derive that information implicitly from the set of label
initializers in their policy operations set.  This avoids a possible
class of programmer errors, while retaining the structure that
allows us to avoid allocating labels for objects that don't need
them.  As before, we regenerate a global mask of labeled objects
each time a policy is loaded or unloaded, stored in mac_labeled.

Discussed with:   csjp
Suggested by:     Jacques Vidrine <nectar at apple.com>
Obtained from:    TrustedBSD Project
Sponsored by:     Apple, Inc.
2009-01-10 10:58:41 +00:00
..
mac_bsdextended.c Rather than having MAC policies explicitly declare what object types 2009-01-10 10:58:41 +00:00
mac_bsdextended.h In preparation for 7.0 privilege cleanup, clean up style: 2007-07-05 13:16:04 +00:00
ugidfw_internal.h The V* flags passed using an accmode_t to the access() and open() 2008-10-30 10:13:53 +00:00
ugidfw_system.c Break mac_bsdextended.c out into multiple .c files, with the base access 2008-10-27 12:09:15 +00:00
ugidfw_vnode.c The V* flags passed using an accmode_t to the access() and open() 2008-10-30 10:13:53 +00:00