Improve consistency of include file guards in src/sys/sys by terminating
them with '_', as well as beginning with '_'. Observed by: bde
This commit is contained in:
parent
ffe2232b31
commit
02ebd2bcb5
@ -39,8 +39,8 @@
|
|||||||
* The POSIX.1e implementation page may be reached at:
|
* The POSIX.1e implementation page may be reached at:
|
||||||
* http://www.trustedbsd.org/
|
* http://www.trustedbsd.org/
|
||||||
*/
|
*/
|
||||||
#ifndef _SYS_MAC_H
|
#ifndef _SYS_MAC_H_
|
||||||
#define _SYS_MAC_H
|
#define _SYS_MAC_H_
|
||||||
|
|
||||||
#include <sys/_label.h>
|
#include <sys/_label.h>
|
||||||
|
|
||||||
@ -364,4 +364,4 @@ int vop_stdsetlabel_ea(struct vop_setlabel_args *ap);
|
|||||||
|
|
||||||
#endif /* !_KERNEL */
|
#endif /* !_KERNEL */
|
||||||
|
|
||||||
#endif /* !_SYS_MAC_H */
|
#endif /* !_SYS_MAC_H_ */
|
||||||
|
@ -36,8 +36,8 @@
|
|||||||
/*
|
/*
|
||||||
* Kernel interface for MAC policy modules.
|
* Kernel interface for MAC policy modules.
|
||||||
*/
|
*/
|
||||||
#ifndef _SYS_MAC_POLICY_H
|
#ifndef _SYS_MAC_POLICY_H_
|
||||||
#define _SYS_MAC_POLICY_H
|
#define _SYS_MAC_POLICY_H_
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Pluggable access control policy definition structure.
|
* Pluggable access control policy definition structure.
|
||||||
@ -502,4 +502,4 @@ int mac_policy_modevent(module_t mod, int type, void *data);
|
|||||||
|
|
||||||
#define LABEL_TO_SLOT(l, s) (l)->l_perpolicy[s]
|
#define LABEL_TO_SLOT(l, s) (l)->l_perpolicy[s]
|
||||||
|
|
||||||
#endif /* !_SYS_MAC_POLICY_H */
|
#endif /* !_SYS_MAC_POLICY_H_ */
|
||||||
|
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
* $FreeBSD$
|
* $FreeBSD$
|
||||||
*/
|
*/
|
||||||
#ifndef _SYS__LABEL_H
|
#ifndef _SYS__LABEL_H_
|
||||||
#define _SYS__LABEL_H
|
#define _SYS__LABEL_H_
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XXXMAC: This shouldn't be exported to userland, but is because of ucred.h
|
* XXXMAC: This shouldn't be exported to userland, but is because of ucred.h
|
||||||
@ -53,4 +53,4 @@ struct label {
|
|||||||
} l_perpolicy[MAC_MAX_SLOTS];
|
} l_perpolicy[MAC_MAX_SLOTS];
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* !_SYS__LABEL_H */
|
#endif /* !_SYS__LABEL_H_ */
|
||||||
|
@ -32,8 +32,8 @@
|
|||||||
* Support for POSIX.1e access control lists.
|
* Support for POSIX.1e access control lists.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SYS_ACL_H
|
#ifndef _SYS_ACL_H_
|
||||||
#define _SYS_ACL_H
|
#define _SYS_ACL_H_
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* POSIX.1e ACL types and related constants.
|
* POSIX.1e ACL types and related constants.
|
||||||
@ -226,4 +226,4 @@ __END_DECLS
|
|||||||
|
|
||||||
#endif /* !_KERNEL */
|
#endif /* !_KERNEL */
|
||||||
|
|
||||||
#endif /* !_SYS_ACL_H */
|
#endif /* !_SYS_ACL_H_ */
|
||||||
|
@ -39,8 +39,8 @@
|
|||||||
* The POSIX.1e implementation page may be reached at:
|
* The POSIX.1e implementation page may be reached at:
|
||||||
* http://www.trustedbsd.org/
|
* http://www.trustedbsd.org/
|
||||||
*/
|
*/
|
||||||
#ifndef _SYS_MAC_H
|
#ifndef _SYS_MAC_H_
|
||||||
#define _SYS_MAC_H
|
#define _SYS_MAC_H_
|
||||||
|
|
||||||
#include <sys/_label.h>
|
#include <sys/_label.h>
|
||||||
|
|
||||||
@ -364,4 +364,4 @@ int vop_stdsetlabel_ea(struct vop_setlabel_args *ap);
|
|||||||
|
|
||||||
#endif /* !_KERNEL */
|
#endif /* !_KERNEL */
|
||||||
|
|
||||||
#endif /* !_SYS_MAC_H */
|
#endif /* !_SYS_MAC_H_ */
|
||||||
|
@ -36,8 +36,8 @@
|
|||||||
/*
|
/*
|
||||||
* Kernel interface for MAC policy modules.
|
* Kernel interface for MAC policy modules.
|
||||||
*/
|
*/
|
||||||
#ifndef _SYS_MAC_POLICY_H
|
#ifndef _SYS_MAC_POLICY_H_
|
||||||
#define _SYS_MAC_POLICY_H
|
#define _SYS_MAC_POLICY_H_
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Pluggable access control policy definition structure.
|
* Pluggable access control policy definition structure.
|
||||||
@ -502,4 +502,4 @@ int mac_policy_modevent(module_t mod, int type, void *data);
|
|||||||
|
|
||||||
#define LABEL_TO_SLOT(l, s) (l)->l_perpolicy[s]
|
#define LABEL_TO_SLOT(l, s) (l)->l_perpolicy[s]
|
||||||
|
|
||||||
#endif /* !_SYS_MAC_POLICY_H */
|
#endif /* !_SYS_MAC_POLICY_H_ */
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
*
|
*
|
||||||
* $FreeBSD$
|
* $FreeBSD$
|
||||||
*/
|
*/
|
||||||
#ifndef _SYS_REGRESSION_H
|
#ifndef _SYS_REGRESSION_H_
|
||||||
#define _SYS_REGRESSION_H
|
#define _SYS_REGRESSION_H_
|
||||||
|
|
||||||
#ifndef _KERNEL
|
#ifndef _KERNEL
|
||||||
/*
|
/*
|
||||||
@ -35,4 +35,4 @@
|
|||||||
int __setugid(int _flag);
|
int __setugid(int _flag);
|
||||||
#endif /* !_KERNEL */
|
#endif /* !_KERNEL */
|
||||||
|
|
||||||
#endif /* !_SYS_REGRESSION_H */
|
#endif /* !_SYS_REGRESSION_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user