summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_inet.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-10-26 13:18:38 +0000
committerrwatson <rwatson@FreeBSD.org>2007-10-26 13:18:38 +0000
commita3b8fc4866545652607bccb0d3d248e512463e35 (patch)
tree5126fbd4b18174fda8e90bc084911557af9f87ae /sys/security/mac/mac_inet.c
parent6edabeb2b453e55413bf787226f2563ce3c4a5da (diff)
downloadFreeBSD-src-a3b8fc4866545652607bccb0d3d248e512463e35.zip
FreeBSD-src-a3b8fc4866545652607bccb0d3d248e512463e35.tar.gz
Rename 'mac_mbuf_create_from_firewall' to 'mac_netinet_firewall_send' as
we move towards netinet as a pseudo-object for the MAC Framework. Rename 'mac_create_mbuf_linklayer' to 'mac_mbuf_create_linklayer' to reflect general object-first ordering preference. Sponsored by: SPARTA (original patches against Mac OS X) Obtained from: TrustedBSD Project, Apple Computer
Diffstat (limited to 'sys/security/mac/mac_inet.c')
-rw-r--r--sys/security/mac/mac_inet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac/mac_inet.c b/sys/security/mac/mac_inet.c
index c5f6403..ae160a5 100644
--- a/sys/security/mac/mac_inet.c
+++ b/sys/security/mac/mac_inet.c
@@ -276,13 +276,13 @@ mac_inpcb_sosetlabel(struct socket *so, struct inpcb *inp)
}
void
-mac_mbuf_create_from_firewall(struct mbuf *m)
+mac_netinet_firewall_send(struct mbuf *m)
{
struct label *label;
M_ASSERTPKTHDR(m);
label = mac_mbuf_to_label(m);
- MAC_PERFORM(mbuf_create_from_firewall, m, label);
+ MAC_PERFORM(netinet_firewall_send, m, label);
}
/*
OpenPOWER on IntegriCloud