mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
2 changed files with 24 additions and 0 deletions
|
|
@ -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 a new issue