commit | 5fb49870e6d48d81d8ca0e1ef979073dc9a820f7 | [log] [tgz] |
---|---|---|
author | Paul Moore <paul.moore@hp.com> | Thu Apr 22 14:46:19 2010 -0400 |
committer | James Morris <jmorris@namei.org> | Mon Aug 02 15:34:39 2010 +1000 |
tree | 136fdf4f4181907b89916f24a8e828c00ba3e6bd | |
parent | 253bfae6e0ad97554799affa0266052968a45808 [diff] |
selinux: Use current_security() when possible There were a number of places using the following code pattern: struct cred *cred = current_cred(); struct task_security_struct *tsec = cred->security; ... which were simplified to the following: struct task_security_struct *tsec = current_security(); Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>