]> git.baikalelectronics.ru Git - kernel.git/commit
SELinux: Add network ingress and egress control permission checks
authorPaul Moore <paul.moore@hp.com>
Tue, 29 Jan 2008 13:49:27 +0000 (08:49 -0500)
committerJames Morris <jmorris@namei.org>
Tue, 29 Jan 2008 21:17:30 +0000 (08:17 +1100)
commit709adccee6593f702aa6a10684ba47d98e211092
tree42c04b3247ede13077546e13f82fe3da83ce7b90
parent9cdea38594d398026700b7268715da2a767348ae
SELinux: Add network ingress and egress control permission checks

This patch implements packet ingress/egress controls for SELinux which allow
SELinux security policy to control the flow of all IPv4 and IPv6 packets into
and out of the system.  Currently SELinux does not have proper control over
forwarded packets and this patch corrects this problem.

Special thanks to Venkat Yekkirala <vyekkirala@trustedcs.com> whose earlier
work on this topic eventually led to this patch.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/hooks.c