Re: [PATCH] lsm: remove current_security()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/4/2019 4:00 PM, Paul Moore wrote:
> There are no remaining callers and it really is unsafe in the brave
> new world of LSM stacking.
>
> Signed-off-by: Paul Moore <paul@xxxxxxxxxxxxxx>

Acked-by: Casey Schaufler <casey@xxxxxxxxxxxxxxxx>

Thanks for this. It should have gone in with the last
set of stacking patches.

> ---
>  include/linux/cred.h |    1 -
>  1 file changed, 1 deletion(-)
>
> 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
>
>





[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux