SELinux: drop load_mutex in security_load_policy
authorEric Paris <eparis@redhat.com>
Mon, 9 Jun 2008 19:58:04 +0000 (15:58 -0400)
committerJames Morris <jmorris@namei.org>
Mon, 14 Jul 2008 05:01:58 +0000 (15:01 +1000)
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>

No differences found