]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] MLSXFRM: fix mis-labelling of child sockets
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 29 Sep 2006 22:50:25 +0000 (15:50 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 22:58:21 +0000 (15:58 -0700)
commit2148ccc437a9eac9f0d4b3c27cb1e41f6a48194c
tree03dc59734526aa654d29e1b81cdad18369598182
parent9a69d1aeccf169d9a1e442c07d3a6e87f06a7b49
[PATCH] MLSXFRM: fix mis-labelling of child sockets

Accepted connections of types other than AF_INET, AF_INET6, AF_UNIX won't
have an appropriate label derived from the peer, so don't use it.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: James Morris <jmorris@namei.org>
Acked-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/selinux/hooks.c