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
This commit is contained in:
Robert Watson 2008-04-13 21:45:52 +00:00
parent 4a45e0250c
commit 646a9f8029
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178184
3 changed files with 9 additions and 9 deletions

View File

@ -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_ */

View File

@ -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_ */

View File

@ -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_ */