diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-10-22 11:52:19 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-10-22 11:52:19 +0000 |
commit | 7beaaf5cd2391ef1f8159791b46dbeb83ab0c2fb (patch) | |
tree | 15bbe7ba3ad64d39db33baa0b88a2dae4206568e /sys/netatalk | |
parent | cbcb760109a202fb847f48aa942a8b84b1e85015 (diff) | |
download | FreeBSD-src-7beaaf5cd2391ef1f8159791b46dbeb83ab0c2fb.zip FreeBSD-src-7beaaf5cd2391ef1f8159791b46dbeb83ab0c2fb.tar.gz |
Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.h
begun with a repo-copy of mac.h to mac_framework.h. sys/mac.h now
contains the userspace and user<->kernel API and definitions, with all
in-kernel interfaces moved to mac_framework.h, which is now included
across most of the kernel instead.
This change is the first step in a larger cleanup and sweep of MAC
Framework interfaces in the kernel, and will not be MFC'd.
Obtained from: TrustedBSD Project
Sponsored by: SPARTA
Diffstat (limited to 'sys/netatalk')
-rw-r--r-- | sys/netatalk/aarp.c | 3 | ||||
-rw-r--r-- | sys/netatalk/ddp_input.c | 3 | ||||
-rw-r--r-- | sys/netatalk/ddp_output.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/netatalk/aarp.c b/sys/netatalk/aarp.c index d835d66..ebadbce 100644 --- a/sys/netatalk/aarp.c +++ b/sys/netatalk/aarp.c @@ -56,7 +56,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/mac.h> #include <sys/mbuf.h> #include <sys/kernel.h> #include <sys/socket.h> @@ -75,6 +74,8 @@ #include <netatalk/phase2.h> #include <netatalk/at_extern.h> +#include <security/mac/mac_framework.h> + static void aarptfree(struct aarptab *aat); static void at_aarpinput(struct ifnet *ifp, struct mbuf *m); diff --git a/sys/netatalk/ddp_input.c b/sys/netatalk/ddp_input.c index 9ffa10f..5353682 100644 --- a/sys/netatalk/ddp_input.c +++ b/sys/netatalk/ddp_input.c @@ -55,7 +55,6 @@ #include <sys/param.h> #include <sys/kernel.h> #include <sys/lock.h> -#include <sys/mac.h> #include <sys/mbuf.h> #include <sys/signalvar.h> #include <sys/socket.h> @@ -72,6 +71,8 @@ #include <netatalk/ddp_pcb.h> #include <netatalk/at_extern.h> +#include <security/mac/mac_framework.h> + static volatile int ddp_forward = 1; static volatile int ddp_firewall = 0; static struct ddpstat ddpstat; diff --git a/sys/netatalk/ddp_output.c b/sys/netatalk/ddp_output.c index 357d707..c48f043 100644 --- a/sys/netatalk/ddp_output.c +++ b/sys/netatalk/ddp_output.c @@ -27,7 +27,6 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/mac.h> #include <sys/mbuf.h> #include <sys/socket.h> #include <sys/socketvar.h> @@ -43,6 +42,8 @@ #include <netatalk/ddp_var.h> #include <netatalk/at_extern.h> +#include <security/mac/mac_framework.h> + int ddp_cksum = 1; int |