LSM: drop bprm_secureexec hook
authorKees Cook <keescook@chromium.org>
Tue, 18 Jul 2017 22:25:29 +0000 (15:25 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 1 Aug 2017 19:03:10 +0000 (12:03 -0700)
commit2af622802696e1dbe28d81c8ea6355dc30800396
tree2a1ca9ec72acd7b480dbbe34896dfc25986100d8
parentee67ae7ef6ff499137292ac8a9dfe86096796283
LSM: drop bprm_secureexec hook

This removes the bprm_secureexec hook since the logic has been folded into
the bprm_set_creds hook for all LSMs now.

Cc: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: John Johansen <john.johansen@canonical.com>
Acked-by: James Morris <james.l.morris@oracle.com>
Acked-by: Serge Hallyn <serge@hallyn.com>
fs/exec.c
include/linux/lsm_hooks.h
include/linux/security.h
security/security.c