aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memmove.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2021-10-20 12:44:03 -0500
committerEric W. Biederman <ebiederm@xmission.com>2021-10-29 14:31:34 -0500
commit695dd0d634df8903e5ead8aa08d326f63b23368a (patch)
tree1a50b133a243eb6ea86130cdae4de5aa868869b0 /lib/test_fortify/write_overflow-memmove.c
parent086ec444f86660e103de8945d0dcae9b67132ac9 (diff)
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 <luto@kernel.org> Link: https://lkml.kernel.org/r/20211020174406.17889-17-ebiederm@xmission.com Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-memmove.c')
0 files changed, 0 insertions, 0 deletions