aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2021-10-20 12:44:03 -0500
committerEric W. Biederman <[email protected]>2021-10-29 14:31:34 -0500
commit695dd0d634df8903e5ead8aa08d326f63b23368a (patch)
tree1a50b133a243eb6ea86130cdae4de5aa868869b0 /tools/perf/scripts/python/arm-cs-trace-disasm.py
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 <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Eric W. Biederman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions