commit | 89abd0acf0335f3f760a3c0698d43bb1eaa83e44 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Mon Jun 09 15:58:04 2008 -0400 |
committer | James Morris <jmorris@namei.org> | Mon Jul 14 15:01:58 2008 +1000 |
tree | c71f08fd6b9fa3969352f96d88daa1409474e2d6 | |
parent | cea78dc4ca044e9666e8f5d797ec50ab85253e49 [diff] |
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 <eparis@redhat.com> Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: James Morris <jmorris@namei.org>