]> asedeno.scripts.mit.edu Git - linux.git/commit
smack: Remove redundant pdeath_signal clearing
authorKees Cook <keescook@chromium.org>
Tue, 18 Jul 2017 22:25:33 +0000 (15:25 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 1 Aug 2017 19:03:12 +0000 (12:03 -0700)
commit35b372b76f7153142cd4838ef1e1e094d115f46f
tree2a80260f236415854032fbedeb1b35074984231d
parenta70423dfbc58402cc2573f95b7e842024aff7162
smack: Remove redundant pdeath_signal clearing

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.

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Serge Hallyn <serge@hallyn.com>
Reviewed-by: James Morris <james.l.morris@oracle.com>
Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smack_lsm.c