]> Pileus Git - ~andy/linux/commit
selinux: Cleanup the NetLabel glue code
authorPaul Moore <paul.moore@hp.com>
Fri, 10 Oct 2008 14:16:29 +0000 (10:16 -0400)
committerPaul Moore <paul.moore@hp.com>
Fri, 10 Oct 2008 14:16:29 +0000 (10:16 -0400)
commitaccc609322ef5ed44cba6d2d70c741afc76385fb
tree4a86c08a2fad7302b14e0f419b5e6bd11111330f
parent561967010edef40f539dacf2aa125e20773ab40b
selinux: Cleanup the NetLabel glue code

We were doing a lot of extra work in selinux_netlbl_sock_graft() what wasn't
necessary so this patch removes that code.  It also removes the redundant
second argument to selinux_netlbl_sock_setsid() which allows us to simplify a
few other functions.

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