]> git.baikalelectronics.ru Git - kernel.git/commit
SELinux: indicate fatal error in compat netfilter code
authorEric Paris <eparis@redhat.com>
Tue, 23 Nov 2010 06:28:08 +0000 (06:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Nov 2010 18:50:17 +0000 (10:50 -0800)
commit6c8955e16ac2c03a40ddcaabbc6935d800dd49af
tree2091420d53ae1bf9e7673c2275b36c6b1e6aac1b
parent46d47366c52f6cf209392138348069bfde7793fa
SELinux: indicate fatal error in compat netfilter code

The SELinux ip postroute code indicates when policy rejected a packet and
passes the error back up the stack.  The compat code does not.  This patch
sends the same kind of error back up the stack in the compat code.

Based-on-patch-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
Reviewed-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
security/selinux/hooks.c