summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_policy.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-07-05 23:39:51 +0000
committerrwatson <rwatson@FreeBSD.org>2005-07-05 23:39:51 +0000
commit5e71112509f619704ade66a8c8429cb90bfff811 (patch)
tree003ec2c9d889fea416f06bf59091e4fb88ea39d8 /sys/security/mac/mac_policy.h
parentefcac3d02eb12bd48b935fce603dac730c4f0f40 (diff)
downloadFreeBSD-src-5e71112509f619704ade66a8c8429cb90bfff811.zip
FreeBSD-src-5e71112509f619704ade66a8c8429cb90bfff811.tar.gz
Eliminate MAC entry point mac_create_mbuf_from_mbuf(), which is
redundant with respect to existing mbuf copy label routines. Expose a new mac_copy_mbuf() routine at the top end of the Framework and use that; use the existing mpo_copy_mbuf_label() routine on the bottom end. Obtained from: TrustedBSD Project Sponsored by: SPARTA, SPAWAR Approved by: re (scottl)
Diffstat (limited to 'sys/security/mac/mac_policy.h')
-rw-r--r--sys/security/mac/mac_policy.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/security/mac/mac_policy.h b/sys/security/mac/mac_policy.h
index 9076493..6f10638 100644
--- a/sys/security/mac/mac_policy.h
+++ b/sys/security/mac/mac_policy.h
@@ -284,9 +284,6 @@ struct mac_policy_ops {
void (*mpo_create_mbuf_from_inpcb)(struct inpcb *inp,
struct label *inplabel, struct mbuf *m,
struct label *mlabel);
- void (*mpo_create_mbuf_from_mbuf)(struct mbuf *oldmbuf,
- struct label *oldlabel, struct mbuf *newmbuf,
- struct label *newlabel);
void (*mpo_create_mbuf_linklayer)(struct ifnet *ifnet,
struct label *ifnetlabel, struct mbuf *mbuf,
struct label *mbuflabel);
OpenPOWER on IntegriCloud