summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-04-13 21:45:52 +0000
committerrwatson <rwatson@FreeBSD.org>2008-04-13 21:45:52 +0000
commitcb6449b749a5591a40dabe2ade3a66a63a0cec31 (patch)
tree625225ac2c63fd60729f3bd6f4f27e87c1a3cea9 /sys/security
parent8988da494e74c5605850ec477cdadfc215d2c2de (diff)
downloadFreeBSD-src-cb6449b749a5591a40dabe2ade3a66a63a0cec31.zip
FreeBSD-src-cb6449b749a5591a40dabe2ade3a66a63a0cec31.tar.gz
Make naming of include guards for MAC Framework include files more
consistent with other kernel include guards (don't start with _SYS). MFC after: 3 days
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/mac/mac_framework.h6
-rw-r--r--sys/security/mac/mac_internal.h6
-rw-r--r--sys/security/mac/mac_policy.h6
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h
index e607d32..fa574e9 100644
--- a/sys/security/mac/mac_framework.h
+++ b/sys/security/mac/mac_framework.h
@@ -43,8 +43,8 @@
* interact with the TrustedBSD MAC Framework.
*/
-#ifndef _SYS_SECURITY_MAC_MAC_FRAMEWORK_H_
-#define _SYS_SECURITY_MAC_MAC_FRAMEWORK_H_
+#ifndef _SECURITY_MAC_MAC_FRAMEWORK_H_
+#define _SECURITY_MAC_MAC_FRAMEWORK_H_
#ifndef _KERNEL
#error "no user-serviceable parts inside"
@@ -431,4 +431,4 @@ void mac_cred_mmapped_drop_perms(struct thread *td, struct ucred *cred);
*/
int vop_stdsetlabel_ea(struct vop_setlabel_args *ap);
-#endif /* !_SYS_SECURITY_MAC_MAC_FRAMEWORK_H_ */
+#endif /* !_SECURITY_MAC_MAC_FRAMEWORK_H_ */
diff --git a/sys/security/mac/mac_internal.h b/sys/security/mac/mac_internal.h
index 2ed3dfb..9df8774 100644
--- a/sys/security/mac/mac_internal.h
+++ b/sys/security/mac/mac_internal.h
@@ -44,8 +44,8 @@
* $FreeBSD$
*/
-#ifndef _SYS_SECURITY_MAC_MAC_INTERNAL_H_
-#define _SYS_SECURITY_MAC_MAC_INTERNAL_H_
+#ifndef _SECURITY_MAC_MAC_INTERNAL_H_
+#define _SECURITY_MAC_MAC_INTERNAL_H_
#ifndef _KERNEL
#error "no user-serviceable parts inside"
@@ -340,4 +340,4 @@ int vn_setlabel(struct vnode *vp, struct label *intlabel,
} \
} while (0)
-#endif /* !_SYS_SECURITY_MAC_MAC_INTERNAL_H_ */
+#endif /* !_SECURITY_MAC_MAC_INTERNAL_H_ */
diff --git a/sys/security/mac/mac_policy.h b/sys/security/mac/mac_policy.h
index c7aef52..368558f 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_SECURITY_MAC_MAC_POLICY_H_
-#define _SYS_SECURITY_MAC_MAC_POLICY_H_
+#ifndef _SECURITY_MAC_MAC_POLICY_H_
+#define _SECURITY_MAC_MAC_POLICY_H_
#ifndef _KERNEL
#error "no user-serviceable parts inside"
@@ -981,4 +981,4 @@ int mac_policy_modevent(module_t mod, int type, void *data);
intptr_t mac_label_get(struct label *l, int slot);
void mac_label_set(struct label *l, int slot, intptr_t v);
-#endif /* !_SYS_SECURITY_MAC_MAC_POLICY_H_ */
+#endif /* !_SECURITY_MAC_MAC_POLICY_H_ */
OpenPOWER on IntegriCloud