aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorEric Paris <[email protected]>2008-06-09 19:58:04 +0000
committerJames Morris <[email protected]>2008-07-14 05:01:58 +0000
commit89abd0acf0335f3f760a3c0698d43bb1eaa83e44 (patch)
treec71f08fd6b9fa3969352f96d88daa1409474e2d6 /security/selinux/hooks.c
parentSELinux: fix off by 1 reference of class_to_string in context_struct_compute_av (diff)
downloadkernel-89abd0acf0335f3f760a3c0698d43bb1eaa83e44.tar.gz
kernel-89abd0acf0335f3f760a3c0698d43bb1eaa83e44.zip
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 <[email protected]> Acked-by: Stephen Smalley <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions