diff options
Diffstat (limited to 'sys/security')
-rw-r--r-- | sys/security/mac/mac_internal.h | 5 | ||||
-rw-r--r-- | sys/security/mac/mac_policy.h | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/sys/security/mac/mac_internal.h b/sys/security/mac/mac_internal.h index a235bd7..791dc67 100644 --- a/sys/security/mac/mac_internal.h +++ b/sys/security/mac/mac_internal.h @@ -40,6 +40,9 @@ * $FreeBSD$ */ +#ifndef _SYS_SECURITY_MAC_MAC_INTERNAL_H_ +#define _SYS_SECURITY_MAC_MAC_INTERNAL_H_ + /* * MAC Framework sysctl namespace. */ @@ -307,3 +310,5 @@ int vn_setlabel(struct vnode *vp, struct label *intlabel, mac_policy_list_unbusy(); \ } \ } while (0) + +#endif /* !_SYS_SECURITY_MAC_MAC_INTERNAL_H_ */ diff --git a/sys/security/mac/mac_policy.h b/sys/security/mac/mac_policy.h index 5de8ff6..d5dd9eb 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_MAC_POLICY_H_ -#define _SYS_MAC_POLICY_H_ +#ifndef _SYS_SECURITY_MAC_MAC_POLICY_H_ +#define _SYS_SECURITY_MAC_MAC_POLICY_H_ /*- * Pluggable access control policy definition structure. @@ -971,4 +971,4 @@ int mac_policy_modevent(module_t mod, int type, void *data); */ #define LABEL_TO_SLOT(l, s) (l)->l_perpolicy[s] -#endif /* !_SYS_MAC_POLICY_H_ */ +#endif /* !_SYS_SECURITY_MAC_MAC_POLICY_H_ */ |