diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-07-30 22:56:57 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-07-30 22:56:57 +0000 |
commit | 5b0acaf75ff8d416a51c820b1c062dada0edaf66 (patch) | |
tree | fc6276209fa6f8a765b8a499a7579064e73e49a4 /sys/security/mac | |
parent | cb90ef28758d355d151c32036c809f46e661f6ed (diff) | |
download | src-5b0acaf75ff8d416a51c820b1c062dada0edaf66.tar.gz src-5b0acaf75ff8d416a51c820b1c062dada0edaf66.zip |
Fix tinderbox build after r363714
Notes
Notes:
svn path=/head/; revision=363716
Diffstat (limited to 'sys/security/mac')
-rw-r--r-- | sys/security/mac/mac_framework.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h index 7ef13dcce758..6ae634bd2dfe 100644 --- a/sys/security/mac/mac_framework.h +++ b/sys/security/mac/mac_framework.h @@ -259,7 +259,11 @@ void mac_posixshm_destroy(struct shmfd *); void mac_posixshm_init(struct shmfd *); int mac_priv_check_impl(struct ucred *cred, int priv); +#ifdef MAC extern bool mac_priv_check_fp_flag; +#else +#define mac_priv_check_fp_flag 0 +#endif static inline int mac_priv_check(struct ucred *cred, int priv) { @@ -270,7 +274,11 @@ mac_priv_check(struct ucred *cred, int priv) } int mac_priv_grant_impl(struct ucred *cred, int priv); +#ifdef MAC extern bool mac_priv_grant_fp_flag; +#else +#define mac_priv_grant_fp_flag 0 +#endif static inline int mac_priv_grant(struct ucred *cred, int priv) { |