There are no remaining callers and it really is unsafe in the brave new world of LSM stacking.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -384,7 +384,6 @@ static inline void put_cred(const struct cred *_cred) · 383 unmodified lines | |||
| 384 | #define current_fsgid() (current_cred_xxx(fsgid)) | 384 | #define current_fsgid() (current_cred_xxx(fsgid)) |
| 385 | #define current_cap() (current_cred_xxx(cap_effective)) | 385 | #define current_cap() (current_cred_xxx(cap_effective)) |
| 386 | #define current_user() (current_cred_xxx(user)) | 386 | #define current_user() (current_cred_xxx(user)) |
| 387 | #define current_security() (current_cred_xxx(security)) | ||
| 388 | 387 | ||
| 389 | extern struct user_namespace init_user_ns; | 388 | extern struct user_namespace init_user_ns; |
| 390 | #ifdef CONFIG_USER_NS | 389 | #ifdef CONFIG_USER_NS |