From 646a9f8029c8e4bdb1fc34d49e939073b2c6991d Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sun, 13 Apr 2008 21:45:52 +0000 Subject: 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 --- sys/security/mac/mac_framework.h | 6 +++--- sys/security/mac/mac_internal.h | 6 +++--- sys/security/mac/mac_policy.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'sys/security') diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h index e607d32c2642..fa574e93547e 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 2ed3dfbabe5a..9df8774a4d0b 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 c7aef52ecda8..368558f3935c 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_ */ -- cgit v1.3