commit | 9a59daa03df72526d234b91dd3e32ded5aebd3ef | [log] [tgz] |
---|---|---|
author | Stephen Smalley <sds@tycho.nsa.gov> | Wed May 14 10:33:55 2008 -0400 |
committer | James Morris <jmorris@namei.org> | Mon Jul 14 15:01:35 2008 +1000 |
tree | 9ba6797d509a5657be7f47f55e630f06a489174d | |
parent | 12b29f34558b9b45a2c6eabd4f3c6be939a3980f [diff] |
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>