diff options
author | Paul Moore <paul@paul-moore.com> | 2019-09-05 01:53:39 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2019-09-05 01:53:39 +0300 |
commit | 15322a0d90b6fd62ae8f22e5b87f735c3fdfeff7 (patch) | |
tree | 2a4a985177ab3a299d3dd26e715b987abded7993 /include | |
parent | 169ce0c081cd85f78388bb6c1638c1ad7b81bde7 (diff) | |
download | linux-15322a0d90b6fd62ae8f22e5b87f735c3fdfeff7.tar.xz |
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 <jamorris@linux.microsoft.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cred.h | 1 |
1 files changed, 0 insertions, 1 deletions
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 |