diff options
| author | Eric W. Biederman <ebiederm@xmission.com> | 2021-10-20 20:44:03 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-25 11:49:06 +0300 |
| commit | 3e61002d05976c312b2fdee741131ecb12263cf4 (patch) | |
| tree | 595b96d67ccb60ea31bc1ad7633a03ad7f2e45cd /include/linux/timerqueue.h | |
| parent | 3c4d5a38ca93d0bf64489d3222f68e4dba5a84ad (diff) | |
| download | linux-3e61002d05976c312b2fdee741131ecb12263cf4.tar.xz | |
signal/x86: In emulate_vsyscall force a signal instead of calling do_exit
commit 695dd0d634df8903e5ead8aa08d326f63b23368a upstream.
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 <luto@kernel.org>
Link: https://lkml.kernel.org/r/20211020174406.17889-17-ebiederm@xmission.com
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Thomas Backlund <tmb@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
