Add missing include guards to mac_internal.h, update include guards in
mac_policy.h following move to new location in src/sys/security/mac. Obtained from: TrustedBSD Project
This commit is contained in:
parent
05f240c59c
commit
d02188c146
@ -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_ */
|
||||
|
@ -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_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user