aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2017-07-18 22:25:34 +0000
committerKees Cook <[email protected]>2017-08-01 19:03:13 +0000
commit473d89639db0aaa0799616b397584ba4f58cd8e1 (patch)
tree5e9000d933802bf54a139f0b6825f8b5971627dd /lib/dump_stack.c
parentsmack: Remove redundant pdeath_signal clearing (diff)
downloadkernel-473d89639db0aaa0799616b397584ba4f58cd8e1.tar.gz
kernel-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 <[email protected]> Acked-by: Serge Hallyn <[email protected]> Reviewed-by: James Morris <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions