freebsd-nq/sys/security/mac
Robert Watson 96adb90996 Begin another merge from the TrustedBSD MAC branch:
- Change mpo_init_foo(obj, label) and mpo_destroy_foo(obj, label) policy
  entry points to mpo_init_foo_label(label) and
  mpo_destroy_foo_label(label).  This will permit the use of the same
  entry points for holding temporary type-specific label during
  internalization and externalization, as well as for caching purposes.
- Because of this, break out mpo_{init,destroy}_socket() and
  mpo_{init,destroy}_mount() into seperate entry points for socket
  main/peer labels and mount main/fs labels.
- Since the prototype for label initialization is the same across almost
  all entry points, implement these entry points using common
  implementations for Biba, MLS, and Test, reducing the number of
  almost identical looking functions.

This simplifies policy implementation, as well as preparing us for the
merge of the new flexible userland API for managing labels on objects.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-05 15:10:00 +00:00
..
mac_framework.c Begin another merge from the TrustedBSD MAC branch: 2002-10-05 15:10:00 +00:00
mac_framework.h Add a new MAC entry point, mac_thread_userret(td), which permits policy 2002-10-02 02:42:38 +00:00
mac_internal.h Begin another merge from the TrustedBSD MAC branch: 2002-10-05 15:10:00 +00:00
mac_net.c Begin another merge from the TrustedBSD MAC branch: 2002-10-05 15:10:00 +00:00
mac_pipe.c Begin another merge from the TrustedBSD MAC branch: 2002-10-05 15:10:00 +00:00
mac_policy.h Begin another merge from the TrustedBSD MAC branch: 2002-10-05 15:10:00 +00:00
mac_process.c Begin another merge from the TrustedBSD MAC branch: 2002-10-05 15:10:00 +00:00
mac_syscalls.c Begin another merge from the TrustedBSD MAC branch: 2002-10-05 15:10:00 +00:00
mac_system.c Begin another merge from the TrustedBSD MAC branch: 2002-10-05 15:10:00 +00:00
mac_vfs.c Begin another merge from the TrustedBSD MAC branch: 2002-10-05 15:10:00 +00:00