Skip to content

Commit 15322a0

Browse files
committed
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]>
1 parent 169ce0c commit 15322a0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/linux/cred.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ static inline void put_cred(const struct cred *_cred)
384384
#define current_fsgid() (current_cred_xxx(fsgid))
385385
#define current_cap() (current_cred_xxx(cap_effective))
386386
#define current_user() (current_cred_xxx(user))
387-
#define current_security() (current_cred_xxx(security))
388387

389388
extern struct user_namespace init_user_ns;
390389
#ifdef CONFIG_USER_NS

0 commit comments

Comments
 (0)