lsm: remove current_security()

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

Acked-by: James Morris <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
This commit is contained in:
Paul Moore committed 2019-09-04 18:53:39 -04:00
1 parent 169ce0c081
commit 15322a0d90
1 file changed
-1
-1
View File
@@ -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