All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] lsm: remove current_security()
@ 2019-09-04 23:00 Paul Moore
  2019-09-05  1:34 ` James Morris
  2019-09-09 15:58 ` Casey Schaufler
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Moore @ 2019-09-04 23:00 UTC (permalink / raw)
  To: linux-security-module, selinux

There are no remaining callers and it really is unsafe in the brave
new world of LSM stacking.

Signed-off-by: Paul Moore <paul@paul-moore.com>
---
 include/linux/cred.h |    1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/cred.h b/include/linux/cred.h
index efb6edf32de7..98b0a23ddd23 100644
--- a/include/linux/cred.h
+++ b/include/linux/cred.h
@@ -384,7 +384,6 @@ static inline void put_cred(const struct cred *_cred)
 #define current_fsgid() 	(current_cred_xxx(fsgid))
 #define current_cap()		(current_cred_xxx(cap_effective))
 #define current_user()		(current_cred_xxx(user))
-#define current_security()	(current_cred_xxx(security))
 
 extern struct user_namespace init_user_ns;
 #ifdef CONFIG_USER_NS


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-09 16:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04 23:00 [PATCH] lsm: remove current_security() Paul Moore
2019-09-05  1:34 ` James Morris
2019-09-05 20:26   ` Paul Moore
2019-09-09 15:58 ` Casey Schaufler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.