aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/link_elf.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/kern/link_elf.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/kern/link_elf.c')
-rw-r--r--sys/kern/link_elf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/link_elf.c b/sys/kern/link_elf.c
index 35e97b85d8d5..b78776abed20 100644
--- a/sys/kern/link_elf.c
+++ b/sys/kern/link_elf.c
@@ -37,7 +37,6 @@ __FBSDID("$FreeBSD$");
#endif
#include <sys/kernel.h>
#include <sys/lock.h>
-#include <sys/mac.h>
#include <sys/malloc.h>
#include <sys/mutex.h>
#include <sys/mount.h>
@@ -49,6 +48,8 @@ __FBSDID("$FreeBSD$");
#include <machine/elf.h>
+#include <security/mac/mac_framework.h>
+
#include <vm/vm.h>
#include <vm/vm_param.h>
#ifdef SPARSE_MAPPING