summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-06-22 16:36:00 +0000
committerrwatson <rwatson@FreeBSD.org>2003-06-22 16:36:00 +0000
commit5fb2bd5499547bb2e47eff4132443da417a41139 (patch)
tree3cfc70d727cacc54c19c74eec92e07a4c1798386 /sys/security
parentde14294d19f82f074d63ed0ff37b1086ef481039 (diff)
downloadFreeBSD-src-5fb2bd5499547bb2e47eff4132443da417a41139.zip
FreeBSD-src-5fb2bd5499547bb2e47eff4132443da417a41139.tar.gz
Forward declare a boatload of structures referenced in the MAC
policy definition structure; this permits policies to reduce their number of gratuitous includes for required for entry points they don't implement. This also facilitates building the MAC Framework on Darwin. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/mac/mac_policy.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/security/mac/mac_policy.h b/sys/security/mac/mac_policy.h
index 43884a0..878b961 100644
--- a/sys/security/mac/mac_policy.h
+++ b/sys/security/mac/mac_policy.h
@@ -51,7 +51,19 @@
* Operations are sorted first by general class of operation, then
* alphabetically.
*/
+struct acl;
+struct componentname;
+struct devfs_dirent;
+struct ipq;
+struct label;
struct mac_policy_conf;
+struct mbuf;
+struct mount;
+struct pipe;
+struct socket;
+struct ucred;
+struct uio;
+struct vnode;
struct mac_policy_ops {
/*
* Policy module operations.
OpenPOWER on IntegriCloud