freebsd-dev/sys/security/mac
Robert Watson 475b9d0a7c Revised APIs for user process label management; the existing APIs relied
on all label parsing occuring in userland, and knowledge of the loaded
policies in the user libraries.  This revision of the API pushes that
parsing into the kernel, avoiding the need for shared library support
of policies in userland, permitting statically linked binaries (such
as ls, ps, and ifconfig) to use MAC labels.  In these API revisions,
high level parsing of the MAC label is done in the MAC Framework,
and interpretation of label elements is delegated to the MAC policy
modules.  This permits modules to export zero or more label elements
to user space if desired, and support them in the manner they want
and with the semantics they want.  This is believed to be the final
revision of this interface: from the perspective of user applications,
the API has actually not changed, although the ABI has.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-22 14:27:44 +00:00
..
mac_framework.c Use if_printf(ifp, "blah") instead of 2002-10-21 02:51:56 +00:00
mac_framework.h Revised APIs for user process label management; the existing APIs relied 2002-10-22 14:27:44 +00:00
mac_internal.h Use if_printf(ifp, "blah") instead of 2002-10-21 02:51:56 +00:00
mac_net.c Use if_printf(ifp, "blah") instead of 2002-10-21 02:51:56 +00:00
mac_pipe.c Use if_printf(ifp, "blah") instead of 2002-10-21 02:51:56 +00:00
mac_policy.h Revised APIs for user process label management; the existing APIs relied 2002-10-22 14:27:44 +00:00
mac_process.c Use if_printf(ifp, "blah") instead of 2002-10-21 02:51:56 +00:00
mac_syscalls.c Use if_printf(ifp, "blah") instead of 2002-10-21 02:51:56 +00:00
mac_system.c Use if_printf(ifp, "blah") instead of 2002-10-21 02:51:56 +00:00
mac_vfs.c Use if_printf(ifp, "blah") instead of 2002-10-21 02:51:56 +00:00