diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2004-02-26 16:15:14 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2004-02-26 16:15:14 +0000 |
commit | f47cb88655babedd99e7a4bb910910bb1b4e2f22 (patch) | |
tree | 915844a5caea45da0c4b47ea5d9161a0a6179f6c /sys/sys | |
parent | d968126d677ee0a32a1471a44d11aee5038ae85c (diff) | |
download | src-f47cb88655babedd99e7a4bb910910bb1b4e2f22.tar.gz src-f47cb88655babedd99e7a4bb910910bb1b4e2f22.zip |
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
Notes
Notes:
svn path=/head/; revision=126292
Diffstat (limited to 'sys/sys')
-rw-r--r-- | sys/sys/mac_policy.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/sys/mac_policy.h b/sys/sys/mac_policy.h index 90604381a3a8..a005f01d2462 100644 --- a/sys/sys/mac_policy.h +++ b/sys/sys/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 { /* |