diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-12-22 23:34:47 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-12-22 23:34:47 +0000 |
commit | ae9ef079952f9706d7848342f1e29b3be6818292 (patch) | |
tree | 5bd953ffcfacedca36999324a1d2c241c6ad3c78 /sys/security/mac/mac_socket.c | |
parent | cc03250b2a0b9cd6f0882e37ae32483af84b9142 (diff) | |
download | FreeBSD-src-ae9ef079952f9706d7848342f1e29b3be6818292.zip FreeBSD-src-ae9ef079952f9706d7848342f1e29b3be6818292.tar.gz |
Move src/sys/sys/mac_policy.h, the kernel interface between the MAC
Framework and security modules, to src/sys/security/mac/mac_policy.h,
completing the removal of kernel-only MAC Framework include files from
src/sys/sys. Update the MAC Framework and MAC policy modules. Delete
the old mac_policy.h.
Third party policy modules will need similar updating.
Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/security/mac/mac_socket.c')
-rw-r--r-- | sys/security/mac/mac_socket.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/security/mac/mac_socket.c b/sys/security/mac/mac_socket.c index 2898519..1f12ea6 100644 --- a/sys/security/mac/mac_socket.c +++ b/sys/security/mac/mac_socket.c @@ -59,8 +59,6 @@ __FBSDID("$FreeBSD$"); #include <sys/socketvar.h> #include <sys/sysctl.h> -#include <sys/mac_policy.h> - #include <net/bpfdesc.h> #include <net/if.h> #include <net/if_var.h> @@ -71,6 +69,7 @@ __FBSDID("$FreeBSD$"); #include <security/mac/mac_framework.h> #include <security/mac/mac_internal.h> +#include <security/mac/mac_policy.h> /* * Currently, sockets hold two labels: the label of the socket itself, and a |