linux-stable-rt/security/selinux
Paul Moore 5fb49870e6 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>
2010-08-02 15:34:39 +10:00
..
include switch selinux delayed superblock handling to iterate_supers() 2010-05-21 18:31:17 -04:00
ss SELinux: seperate range transition rules to a seperate function 2010-08-02 15:34:30 +10:00
.gitignore
Kconfig
Makefile
avc.c selinux: remove all rcu head initializations 2010-08-02 15:33:35 +10:00
exports.c
hooks.c selinux: Use current_security() when possible 2010-08-02 15:34:39 +10:00
netif.c
netlabel.c Merge branch 'master' into next 2010-05-06 10:56:07 +10:00
netlink.c Merge branch 'master' into next 2010-05-06 10:56:07 +10:00
netnode.c selinux: remove all rcu head initializations 2010-08-02 15:33:35 +10:00
netport.c
nlmsgtab.c
selinuxfs.c Security: Fix coding style in security/ 2010-04-09 15:13:48 +10:00
xfrm.c