diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-12-28 23:23:35 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-12-28 23:23:35 +0000 |
commit | 1828ce8b9a5c9e97161471fe47940bc809e3c3b7 (patch) | |
tree | 3e213551556ba564b95111116a827b239d5ad50a /sys | |
parent | 9a3d3a4e50ccc7661d566b95d0aea65482f3ce35 (diff) | |
download | FreeBSD-src-1828ce8b9a5c9e97161471fe47940bc809e3c3b7.zip FreeBSD-src-1828ce8b9a5c9e97161471fe47940bc809e3c3b7.tar.gz |
Add missing include guards to mac_internal.h, update include guards in
mac_policy.h following move to new location in src/sys/security/mac.
Obtained from: TrustedBSD Project
Diffstat (limited to 'sys')
-rw-r--r-- | sys/security/mac/mac_internal.h | 5 | ||||
-rw-r--r-- | sys/security/mac/mac_policy.h | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/sys/security/mac/mac_internal.h b/sys/security/mac/mac_internal.h index a235bd7..791dc67 100644 --- a/sys/security/mac/mac_internal.h +++ b/sys/security/mac/mac_internal.h @@ -40,6 +40,9 @@ * $FreeBSD$ */ +#ifndef _SYS_SECURITY_MAC_MAC_INTERNAL_H_ +#define _SYS_SECURITY_MAC_MAC_INTERNAL_H_ + /* * MAC Framework sysctl namespace. */ @@ -307,3 +310,5 @@ int vn_setlabel(struct vnode *vp, struct label *intlabel, mac_policy_list_unbusy(); \ } \ } while (0) + +#endif /* !_SYS_SECURITY_MAC_MAC_INTERNAL_H_ */ diff --git a/sys/security/mac/mac_policy.h b/sys/security/mac/mac_policy.h index 5de8ff6..d5dd9eb 100644 --- a/sys/security/mac/mac_policy.h +++ b/sys/security/mac/mac_policy.h @@ -40,8 +40,8 @@ /* * Kernel interface for MAC policy modules. */ -#ifndef _SYS_MAC_POLICY_H_ -#define _SYS_MAC_POLICY_H_ +#ifndef _SYS_SECURITY_MAC_MAC_POLICY_H_ +#define _SYS_SECURITY_MAC_MAC_POLICY_H_ /*- * Pluggable access control policy definition structure. @@ -971,4 +971,4 @@ int mac_policy_modevent(module_t mod, int type, void *data); */ #define LABEL_TO_SLOT(l, s) (l)->l_perpolicy[s] -#endif /* !_SYS_MAC_POLICY_H_ */ +#endif /* !_SYS_SECURITY_MAC_MAC_POLICY_H_ */ |