From: Paul Moore Date: Fri, 17 Nov 2006 22:38:53 +0000 (-0500) Subject: NetLabel: SELinux cleanups X-Git-Tag: v2.6.20-rc2~6^2~13^2~278 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f2ad66509b182b399a5b03de487f45bde623524;p=pandora-kernel.git NetLabel: SELinux cleanups This patch does a lot of cleanup in the SELinux NetLabel support code. A summary of the changes include: * Use RCU locking for the NetLabel state variable in the skk_security_struct instead of using the inode_security_struct mutex. * Remove unnecessary parameters in selinux_netlbl_socket_post_create(). * Rename selinux_netlbl_sk_clone_security() to selinux_netlbl_sk_security_clone() to better fit the other NetLabel sk_security functions. * Improvements to selinux_netlbl_inode_permission() to help reduce the cost of the common case. Signed-off-by: Paul Moore Signed-off-by: James Morris --- Reading git-diff-tree failed