Re: [PATCH v4 12/15] smack: Remove redundant pdeath_signal clearing
From: James Morris
Date: Mon Jul 31 2017 - 20:50:51 EST
On Mon, 31 Jul 2017, Kees Cook wrote:
> This removes the redundant pdeath_signal clearing in Smack: the check in
> smack_bprm_committing_creds() matches the check in smack_bprm_set_creds()
> (which used to be in the now-removed smack_bprm_securexec() hook) and
> since secureexec is now being checked for clearing pdeath_signal, this
> is redundant to the common exec code.
>
> Cc: Casey Schaufler <casey@xxxxxxxxxxxxxxxx>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> Acked-by: Serge Hallyn <serge@xxxxxxxxxx>
> ---
> security/smack/smack_lsm.c | 15 ---------------
> 1 file changed, 15 deletions(-)
Reviewed-by: James Morris <james.l.morris@xxxxxxxxxx>
--
James Morris
<jmorris@xxxxxxxxx>