summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api/media/camera-sensor.rst
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2021-06-23 23:44:32 +0200
committerEric W. Biederman <ebiederm@xmission.com>2021-08-26 17:30:12 +0200
commit307d522f5eb86cd6ac8c905f5b0577dedac54ec5 (patch)
tree826a8de8128133767b650120882b4edea7ee728b /Documentation/driver-api/media/camera-sensor.rst
parentsignal/m68k: Use force_sigsegv(SIGSEGV) in fpsp040_die (diff)
downloadlinux-307d522f5eb86cd6ac8c905f5b0577dedac54ec5.tar.xz
linux-307d522f5eb86cd6ac8c905f5b0577dedac54ec5.zip
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/driver-api/media/camera-sensor.rst')
0 files changed, 0 insertions, 0 deletions