freebsd-skq/sys/security/mac
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_framework.c Add /* !MAC */ to final #endif. 2004-05-03 22:54:46 +00:00
mac_framework.h Reimplement sysctls handling by MAC framework. 2004-02-22 12:31:44 +00:00
mac_inet.c Move inet and inet6 related MAC Framework entry points from mac_net.c 2004-02-26 03:51:04 +00:00
mac_internal.h Move inet and inet6 related MAC Framework entry points from mac_net.c 2004-02-26 03:51:04 +00:00
mac_label.c Modify the MAC Framework so that instead of embedding a (struct label) 2003-11-12 03:14:31 +00:00
mac_net.c If the mbuf pointer passed to mac_mbuf_to_label() is NULL, or the tag 2004-05-03 23:37:48 +00:00
mac_pipe.c Coalesce pipe allocations and frees. Previously, the pipe code 2004-02-01 05:56:51 +00:00
mac_policy.h Forward declare struct proc, struct sockaddr, and struct thread, which 2004-02-26 20:44:50 +00:00
mac_process.c Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00
mac_socket.c Move inet and inet6 related MAC Framework entry points from mac_net.c 2004-02-26 03:51:04 +00:00
mac_syscalls.c Add /* !MAC */ to final #endif. 2004-05-03 22:54:46 +00:00
mac_system.c Reimplement sysctls handling by MAC framework. 2004-02-22 12:31:44 +00:00
mac_vfs.c Update my personal copyrights and NETA copyrights in the kernel 2004-02-22 00:33:12 +00:00