mirror of https://github.com/google/oss-fuzz.git
execSan: Send SIGABRT signal to initial (main thread). (#7988)
This commit is contained in:
parent
e9c42d0ed5
commit
70dd8b4c95
|
@ -177,7 +177,7 @@ void report_bug(std::string bug_type) {
|
|||
// to the root process.
|
||||
// Note: this may not be reliable or consistent if shell injection happens
|
||||
// in an async way.
|
||||
kill(g_root_pid, SIGABRT);
|
||||
tgkill(g_root_pid, g_root_pid, SIGABRT);
|
||||
}
|
||||
|
||||
void inspect_for_injection(pid_t pid, const user_regs_struct ®s) {
|
||||
|
|
Loading…
Reference in New Issue