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:
parent
b7850636cd
commit
16fd30bd2a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116689
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user