summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-02-26 16:15:14 +0000
committerrwatson <rwatson@FreeBSD.org>2004-02-26 16:15:14 +0000
commit5dcb04ba237cfe674207d4a086fe25c4ddd4bbdb (patch)
tree915844a5caea45da0c4b47ea5d9161a0a6179f6c /sys/security
parent923b6edcc01a626bbab2571c9da95f3c7128d7cf (diff)
downloadFreeBSD-src-5dcb04ba237cfe674207d4a086fe25c4ddd4bbdb.zip
FreeBSD-src-5dcb04ba237cfe674207d4a086fe25c4ddd4bbdb.tar.gz
Forward declare struct bpf_d, struct ifnet, struct image_params, and
struct vattr in mac_policy.h. This permits policies not implementing entry points using these types to compile without including include files with these types. Obtained from: TrustedBSD Project Sponsored by: DARPA, Air Force Research Laboratory
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/mac/mac_policy.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/security/mac/mac_policy.h b/sys/security/mac/mac_policy.h
index 9060438..a005f01 100644
--- a/sys/security/mac/mac_policy.h
+++ b/sys/security/mac/mac_policy.h
@@ -1,6 +1,6 @@
/*-
* Copyright (c) 1999-2002 Robert N. M. Watson
- * Copyright (c) 2001-2003 Networks Associates Technology, Inc.
+ * Copyright (c) 2001-2004 Networks Associates Technology, Inc.
* All rights reserved.
*
* This software was developed by Robert Watson for the TrustedBSD Project.
@@ -52,8 +52,11 @@
* alphabetically.
*/
struct acl;
+struct bpf_d;
struct componentname;
struct devfs_dirent;
+struct ifnet;
+struct image_params;
struct inpcb;
struct ipq;
struct label;
@@ -67,6 +70,7 @@ struct sysctl_oid;
struct sysctl_req;
struct ucred;
struct uio;
+struct vattr;
struct vnode;
struct mac_policy_ops {
/*
OpenPOWER on IntegriCloud