git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
253bfae
)
selinux: Use current_security() when possible
author
Paul Moore
<paul.moore@hp.com>
Thu, 22 Apr 2010 18:46:19 +0000
(14:46 -0400)
committer
James Morris
<jmorris@namei.org>
Mon, 2 Aug 2010 05:34:39 +0000
(15:34 +1000)
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>
security/selinux/hooks.c
patch
|
blob
|
history
diff --cc
security/selinux/hooks.c
Simple merge