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:
parent
4a45e0250c
commit
646a9f8029
@ -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_ */
|
||||
|
@ -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_ */
|
||||
|
@ -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_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user