From: Eric Paris Date: Mon, 9 Jun 2008 19:58:04 +0000 (-0400) Subject: SELinux: drop load_mutex in security_load_policy X-Git-Tag: v2.6.27-rc1~1109^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89abd0acf0335f3f760a3c0698d43bb1eaa83e44;p=pandora-kernel.git SELinux: drop load_mutex in security_load_policy We used to protect against races of policy load in security_load_policy by using the load_mutex. Since then we have added a new mutex, sel_mutex, in sel_write_load() which is always held across all calls to security_load_policy we are covered and can safely just drop this one. Signed-off-by: Eric Paris Acked-by: Stephen Smalley Signed-off-by: James Morris --- Reading git-diff-tree failed