]> git.baikalelectronics.ru Git - kernel.git/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)
commit18a4226cbb8603fb3aac2e68833b21fc690e6cba
tree4a86c08a2fad7302b14e0f419b5e6bd11111330f
parent44a96e7810ee4cdbd4feeb1192381912ce6ce12c
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