freebsd-skq/sys/security
rwatson f42c13d962 If the mbuf pointer passed to mac_mbuf_to_label() is NULL, or the tag
lookup for the label tag fails, return NULL rather than something close
to NULL.  This scenario occurs if mbuf header labeling is optional and
a policy requiring labeling is loaded, resulting in some mbufs having
labels and others not.  Previously, 0x14 would be returned because the
NULL from m_tag_find() was not treated specially.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, McAfee Research
2004-05-03 23:37:48 +00:00
..
mac If the mbuf pointer passed to mac_mbuf_to_label() is NULL, or the tag 2004-05-03 23:37:48 +00:00
mac_biba Reimplement sysctls handling by MAC framework. 2004-02-22 12:31:44 +00:00
mac_bsdextended Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_ifoff Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_lomac Reimplement sysctls handling by MAC framework. 2004-02-22 12:31:44 +00:00
mac_mls Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_none Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_partition Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_portacl Pay attention to mac_portacl_enabled. 2004-01-20 18:33:02 +00:00
mac_seeotheruids Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_stub Reimplement sysctls handling by MAC framework. 2004-02-22 12:31:44 +00:00
mac_test Update copyright. 2004-05-03 21:38:42 +00:00