summaryrefslogtreecommitdiff
path: root/sys/security/mac/mac_system.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2003-08-21 18:21:22 +0000
committerRobert Watson <rwatson@FreeBSD.org>2003-08-21 18:21:22 +0000
commiteb8c7f999290d0cd203ab601aa1ebe613a7822ff (patch)
tree269bdd075acbd16f8db9b0379a3518d07ca3cd76 /sys/security/mac/mac_system.c
parent69d1b638df93b52d502ff77a5a5318b4e024188e (diff)
Notes
Diffstat (limited to 'sys/security/mac/mac_system.c')
-rw-r--r--sys/security/mac/mac_system.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/security/mac/mac_system.c b/sys/security/mac/mac_system.c
index dcd883151556..490b492f1b86 100644
--- a/sys/security/mac/mac_system.c
+++ b/sys/security/mac/mac_system.c
@@ -2398,6 +2398,25 @@ mac_fragment_match(struct mbuf *fragment, struct ipq *ipq)
}
void
+mac_reflect_mbuf_icmp(struct mbuf *m)
+{
+ struct label *label;
+
+ label = mbuf_to_label(m);
+
+ MAC_PERFORM(reflect_mbuf_icmp, m, label);
+}
+void
+mac_reflect_mbuf_tcp(struct mbuf *m)
+{
+ struct label *label;
+
+ label = mbuf_to_label(m);
+
+ MAC_PERFORM(reflect_mbuf_tcp, m, label);
+}
+
+void
mac_update_ipq(struct mbuf *fragment, struct ipq *ipq)
{
struct label *label;