summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_socket.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-06-05 14:55:22 +0000
committerrwatson <rwatson@FreeBSD.org>2009-06-05 14:55:22 +0000
commitf4934662e5d837053e785525653e390ce6933d2b (patch)
tree476e08b4812ed877bdf927598a5c7deae99fdcdf /sys/kern/sys_socket.c
parent4df1a4e912a3f28cda78498cc27541eb191be270 (diff)
downloadFreeBSD-src-f4934662e5d837053e785525653e390ce6933d2b.zip
FreeBSD-src-f4934662e5d837053e785525653e390ce6933d2b.tar.gz
Move "options MAC" from opt_mac.h to opt_global.h, as it's now in GENERIC
and used in a large number of files, but also because an increasing number of incorrect uses of MAC calls were sneaking in due to copy-and-paste of MAC-aware code without the associated opt_mac.h include. Discussed with: pjd
Diffstat (limited to 'sys/kern/sys_socket.c')
-rw-r--r--sys/kern/sys_socket.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/sys_socket.c b/sys/kern/sys_socket.c
index 5e5695c..93da80d 100644
--- a/sys/kern/sys_socket.c
+++ b/sys/kern/sys_socket.c
@@ -32,8 +32,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "opt_mac.h"
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/file.h>
OpenPOWER on IntegriCloud