Loading debuggerd/debuggerd_test.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,7 @@ constexpr char kWaitForDebuggerKey[] = "debug.debuggerd.wait_for_debugger"; struct sigaction old_sigaction; \ struct sigaction new_sigaction = {}; \ new_sigaction.sa_handler = [](int) {}; \ if (sigaction(SIGALRM, &new_sigaction, &new_sigaction) != 0) { \ if (sigaction(SIGALRM, &new_sigaction, &old_sigaction) != 0) { \ err(1, "sigaction failed"); \ } \ alarm(seconds); \ Loading Loading
debuggerd/debuggerd_test.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,7 @@ constexpr char kWaitForDebuggerKey[] = "debug.debuggerd.wait_for_debugger"; struct sigaction old_sigaction; \ struct sigaction new_sigaction = {}; \ new_sigaction.sa_handler = [](int) {}; \ if (sigaction(SIGALRM, &new_sigaction, &new_sigaction) != 0) { \ if (sigaction(SIGALRM, &new_sigaction, &old_sigaction) != 0) { \ err(1, "sigaction failed"); \ } \ alarm(seconds); \ Loading