aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_tun.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2006-10-22 11:52:19 +0000
committerRobert Watson <rwatson@FreeBSD.org>2006-10-22 11:52:19 +0000
commitaed557087269cd052aa76cc15af4a1fd70cbbf24 (patch)
tree15bbe7ba3ad64d39db33baa0b88a2dae4206568e /sys/net/if_tun.c
parent9af80719db341cf3e23d76c62553d77b6ad03568 (diff)
downloadsrc-aed557087269cd052aa76cc15af4a1fd70cbbf24.tar.gz
src-aed557087269cd052aa76cc15af4a1fd70cbbf24.zip
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
Notes
Notes: svn path=/head/; revision=163606
Diffstat (limited to 'sys/net/if_tun.c')
-rw-r--r--sys/net/if_tun.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c
index ddf64126e235..078766905e2f 100644
--- a/sys/net/if_tun.c
+++ b/sys/net/if_tun.c
@@ -25,7 +25,6 @@
#include <sys/param.h>
#include <sys/proc.h>
#include <sys/systm.h>
-#include <sys/mac.h>
#include <sys/mbuf.h>
#include <sys/module.h>
#include <sys/socket.h>
@@ -56,6 +55,8 @@
#include <sys/queue.h>
+#include <security/mac/mac_framework.h>
+
/*
* tun_list is protected by global tunmtx. Other mutable fields are
* protected by tun->tun_mtx, or by their owning subsystem. tun_dev is