Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 15322a0d authored by Paul Moore's avatar Paul Moore
Browse files

lsm: remove current_security()



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

Acked-by: default avatarJames Morris <jamorris@linux.microsoft.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 169ce0c0
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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