diff options
| author | Eric W. Biederman <[email protected]> | 2021-10-20 17:44:03 +0000 |
|---|---|---|
| committer | Eric W. Biederman <[email protected]> | 2021-10-29 19:31:34 +0000 |
| commit | 695dd0d634df8903e5ead8aa08d326f63b23368a (patch) | |
| tree | 1a50b133a243eb6ea86130cdae4de5aa868869b0 /drivers/fpga/fpga-mgr.c | |
| parent | signal/sparc32: In setup_rt_frame and setup_fram use force_fatal_sig (diff) | |
| download | kernel-695dd0d634df8903e5ead8aa08d326f63b23368a.tar.gz kernel-695dd0d634df8903e5ead8aa08d326f63b23368a.zip | |
signal/x86: In emulate_vsyscall force a signal instead of calling do_exit
Directly calling do_exit with a signal number has the problem that
all of the side effects of the signal don't happen, such as
killing all of the threads of a process instead of just the
calling thread.
So replace do_exit(SIGSYS) with force_fatal_sig(SIGSYS) which
causes the signal handling to take it's normal path and work
as expected.
Cc: Andy Lutomirski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Eric W. Biederman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
