summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorKees Cook2017-07-19 00:25:34 +0200
committerKees Cook2017-08-01 21:03:13 +0200
commit473d89639db0aaa0799616b397584ba4f58cd8e1 (patch)
tree5e9000d933802bf54a139f0b6825f8b5971627dd /kernel
parentsmack: Remove redundant pdeath_signal clearing (diff)
downloadkernel-qcow2-linux-473d89639db0aaa0799616b397584ba4f58cd8e1.tar.gz
kernel-qcow2-linux-473d89639db0aaa0799616b397584ba4f58cd8e1.tar.xz
kernel-qcow2-linux-473d89639db0aaa0799616b397584ba4f58cd8e1.zip
exec: Consolidate dumpability logic
Since it's already valid to set dumpability in the early part of setup_new_exec(), we can consolidate the logic into a single place. The BINPRM_FLAGS_ENFORCE_NONDUMP is set during would_dump() calls before setup_new_exec(), so its test is safe to move as well. Signed-off-by: Kees Cook <keescook@chromium.org> Acked-by: Serge Hallyn <serge@hallyn.com> Reviewed-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions