SELinux: fix sleeping allocation in security_context_to_sid
authorStephen Smalley <sds@tycho.nsa.gov>
Wed, 14 May 2008 14:33:55 +0000 (10:33 -0400)
committerJames Morris <jmorris@namei.org>
Mon, 14 Jul 2008 05:01:35 +0000 (15:01 +1000)
Fix a sleeping function called from invalid context bug by moving allocation
to the callers prior to taking the policy rdlock.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found