From: Stephen Smalley Date: Wed, 14 May 2008 14:33:55 +0000 (-0400) Subject: SELinux: fix sleeping allocation in security_context_to_sid X-Git-Tag: v2.6.27-rc1~1109^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a59daa03df72526d234b91dd3e32ded5aebd3ef;p=pandora-kernel.git SELinux: fix sleeping allocation in security_context_to_sid 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 Signed-off-by: James Morris --- Reading git-diff-tree failed