]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Introduce two new MAC Framework and MAC policy entry points:
authorrwatson <rwatson@FreeBSD.org>
Thu, 21 Aug 2003 18:21:22 +0000 (18:21 +0000)
committerrwatson <rwatson@FreeBSD.org>
Thu, 21 Aug 2003 18:21:22 +0000 (18:21 +0000)
commit32ed1a62a81fa74b7ba72050f7fcc471b032f95c
tree269bdd075acbd16f8db9b0379a3518d07ca3cd76
parent31a9062bd5a40857d69d229a261f64e30a94e727
Introduce two new MAC Framework and MAC policy entry points:

  mac_reflect_mbuf_icmp()
  mac_reflect_mbuf_tcp()

These entry points permit MAC policies to do "update in place"
changes to the labels on ICMP and TCP mbuf headers when an ICMP or
TCP response is generated to a packet outside of the context of
an existing socket.  For example, in respond to a ping or a RST
packet to a SYN on a closed port.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
13 files changed:
sys/kern/kern_mac.c
sys/security/mac/mac_framework.c
sys/security/mac/mac_framework.h
sys/security/mac/mac_internal.h
sys/security/mac/mac_net.c
sys/security/mac/mac_pipe.c
sys/security/mac/mac_policy.h
sys/security/mac/mac_process.c
sys/security/mac/mac_syscalls.c
sys/security/mac/mac_system.c
sys/security/mac/mac_vfs.c
sys/sys/mac.h
sys/sys/mac_policy.h