Author: mjg
Date: Thu Jul 30 22:56:57 2020
New Revision: 363716
URL: https://svnweb.freebsd.org/changeset/base/363716

Log:
  Fix tinderbox build after r363714

Modified:
  head/sys/security/mac/mac_framework.h

Modified: head/sys/security/mac/mac_framework.h
==============================================================================
--- head/sys/security/mac/mac_framework.h       Thu Jul 30 22:52:18 2020        
(r363715)
+++ head/sys/security/mac/mac_framework.h       Thu Jul 30 22:56:57 2020        
(r363716)
@@ -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)
 {
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to