From 4decbe0d6c3cb86445eb54ff22fd4e5771203da7 Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Mon, 23 Jan 2017 15:08:34 -0800 Subject: [PATCH] debuggerd_handler: add SIGSYS to the list of handled signals. Bug: http://b/34586922 Test: kill -SYS $$ Change-Id: I31dadb9c65141d0c5556cc7256439e0a8d1519ab --- debuggerd/include/debuggerd/handler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/debuggerd/include/debuggerd/handler.h b/debuggerd/include/debuggerd/handler.h index 809f67049..7196e0ad4 100644 --- a/debuggerd/include/debuggerd/handler.h +++ b/debuggerd/include/debuggerd/handler.h @@ -48,6 +48,7 @@ static void __attribute__((__unused__)) debuggerd_register_handlers(struct sigac #if defined(SIGSTKFLT) sigaction(SIGSTKFLT, action, nullptr); #endif + sigaction(SIGSYS, action, nullptr); sigaction(SIGTRAP, action, nullptr); sigaction(DEBUGGER_SIGNAL, action, nullptr); }