diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-04-13 21:45:52 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-04-13 21:45:52 +0000 |
commit | cb6449b749a5591a40dabe2ade3a66a63a0cec31 (patch) | |
tree | 625225ac2c63fd60729f3bd6f4f27e87c1a3cea9 /sys/security | |
parent | 8988da494e74c5605850ec477cdadfc215d2c2de (diff) | |
download | FreeBSD-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.h | 6 | ||||
-rw-r--r-- | sys/security/mac/mac_internal.h | 6 | ||||
-rw-r--r-- | sys/security/mac/mac_policy.h | 6 |
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_ */ |