From 5fb49870e6d48d81d8ca0e1ef979073dc9a820f7 Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Thu, 22 Apr 2010 14:46:19 -0400 Subject: [PATCH] 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-format-patch failed