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
This commit is contained in:
Robert Watson 2003-06-22 16:36:00 +00:00
parent b7850636cd
commit 16fd30bd2a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116689
2 changed files with 24 additions and 0 deletions

View File

@ -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.

View File

@ -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.