aboutsummaryrefslogtreecommitdiff
path: root/Documentation/COPYING-logo
diff options
context:
space:
mode:
authorEric W. Biederman2021-06-23 16:44:32 -0500
committerEric W. Biederman2021-08-26 10:30:12 -0500
commit307d522f5eb86cd6ac8c905f5b0577dedac54ec5 (patch)
tree826a8de8128133767b650120882b4edea7ee728b /Documentation/COPYING-logo
parenta3616a3c02722d1edb95acc7fceade242f6553ba (diff)
signal/seccomp: Refactor seccomp signal and coredump generation
Factor out force_sig_seccomp from the seccomp signal generation and place it in kernel/signal.c. The function force_sig_seccomp takes a parameter force_coredump to indicate that the sigaction field should be reset to SIGDFL so that a coredump will be generated when the signal is delivered. force_sig_seccomp is then used to replace both seccomp_send_sigsys and seccomp_init_siginfo. force_sig_info_to_task gains an extra parameter to force using the default signal action. With this change seccomp is no longer a special case and there becomes exactly one place do_coredump is called from. Further it no longer becomes necessary for __seccomp_filter to call do_group_exit. Acked-by: Kees Cook <keescook@chromium.org> Link: https://lkml.kernel.org/r/87r1gr6qc4.fsf_-_@disp2133 Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'Documentation/COPYING-logo')
0 files changed, 0 insertions, 0 deletions