SELinux: fix locking issue introduced with c6d3aaa4e35c71a3
authorStephen Smalley <sds@tycho.nsa.gov>
Mon, 19 Oct 2009 14:08:50 +0000 (10:08 -0400)
committerJames Morris <jmorris@namei.org>
Tue, 20 Oct 2009 00:22:07 +0000 (09:22 +0900)
commitb7f3008ad1d795935551e4dd810b0255a7bfa3c9
tree1933b20fd16d30f6f9b3043ee6a66f0ddedb4009
parent825332e4ff1373c55d931b49408df7ec2298f71e
SELinux: fix locking issue introduced with c6d3aaa4e35c71a3

Ensure that we release the policy read lock on all exit paths from
security_compute_av.

Signed-off-by: Stephen D. Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/ss/services.c