aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/mls.c
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2008-05-14 10:33:55 -0400
committerJames Morris <jmorris@namei.org>2008-07-14 15:01:35 +1000
commit9a59daa03df72526d234b91dd3e32ded5aebd3ef (patch)
tree9ba6797d509a5657be7f47f55e630f06a489174d /security/selinux/ss/mls.c
parentselinux: support deferred mapping of contexts (diff)
downloadlinux-dev-9a59daa03df72526d234b91dd3e32ded5aebd3ef.tar.xz
linux-dev-9a59daa03df72526d234b91dd3e32ded5aebd3ef.zip
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 <sds@tycho.nsa.gov> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/ss/mls.c')
0 files changed, 0 insertions, 0 deletions