From: Paul Moore Date: Thu, 22 Apr 2010 18:46:19 +0000 (-0400) Subject: selinux: Use current_security() when possible X-Git-Tag: v2.6.36-rc1~584^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fb49870e6d48d81d8ca0e1ef979073dc9a820f7;p=pandora-kernel.git 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 Acked-by: Eric Paris Signed-off-by: James Morris --- Reading git-diff-tree failed