Searched refs:sigaction (Results 1 – 11 of 11) sorted by relevance
/art/sigchainlib/ |
D | sigchain.cc | 38 typedef int (*SigActionFnPtr)(int, const struct sigaction*, struct sigaction*); 46 void Claim(const struct sigaction& action) { in Claim() 54 sigaction(signal, &action_, nullptr); // Restore old action. in Unclaim() 58 const struct sigaction& GetAction() const { in GetAction() 71 void SetAction(const struct sigaction& action, bool oldstyle) { in SetAction() 89 struct sigaction action_; // Action to be performed. 128 extern "C" void ClaimSignalChain(int signal, struct sigaction* oldaction) { in ClaimSignalChain() 164 const struct sigaction& action = user_sigactions[sig].GetAction(); in InvokeUserSignalHandler() 185 extern "C" void EnsureFrontOfChain(int signal, struct sigaction* expected_action) { in EnsureFrontOfChain() 189 struct sigaction current_action; in EnsureFrontOfChain() [all …]
|
D | sigchain.h | 26 extern "C" void ClaimSignalChain(int signal, struct sigaction* oldaction); 35 extern "C" void EnsureFrontOfChain(int signal, struct sigaction* expected_action);
|
D | sigchain_dummy.cc | 53 struct sigaction* oldaction ATTRIBUTE_UNUSED) { in ClaimSignalChain() 76 struct sigaction* expected_action ATTRIBUTE_UNUSED) { in EnsureFrontOfChain()
|
D | version-script.txt | 9 sigaction;
|
/art/test/004-SignalTest/ |
D | signaltest.cc | 76 static struct sigaction oldaction; 79 struct sigaction action; in Java_Main_initSignalTest() 87 sigaction(SIGSEGV, &action, &oldaction); in Java_Main_initSignalTest() 91 sigaction(SIGSEGV, &oldaction, nullptr); in Java_Main_terminateSignalTest()
|
/art/runtime/ |
D | fault_handler.cc | 92 sigaction(SIGSEGV, nullptr, &oldaction_); in FaultManager() 98 static void SetUpArtAction(struct sigaction* action) { in SetUpArtAction() 109 struct sigaction action; in EnsureArtActionInFrontOfSignalChain() 119 struct sigaction action; in Init() 123 int e = sigaction(SIGSEGV, &action, &oldaction_); in Init() 182 struct sigaction action; in HandleFaultByOtherHandlers() 183 struct sigaction oldactions[num_handled_nested_signals]; in HandleFaultByOtherHandlers() 202 success = sigaction(handled_nested_signals[i], &action, &oldactions[i]) == 0; in HandleFaultByOtherHandlers() 219 success = sigaction(handled_nested_signals[i], &oldactions[i], nullptr) == 0; in HandleFaultByOtherHandlers() 234 success = sigaction(handled_nested_signals[i], &oldactions[i], nullptr) == 0; in HandleFaultByOtherHandlers()
|
D | runtime_linux.cc | 379 struct sigaction action; in HandleUnexpectedSignal() 383 sigaction(signal_number, &action, nullptr); in HandleUnexpectedSignal() 393 struct sigaction action; in InitPlatformSignalHandlers() 403 rc += sigaction(SIGABRT, &action, nullptr); in InitPlatformSignalHandlers() 404 rc += sigaction(SIGBUS, &action, nullptr); in InitPlatformSignalHandlers() 405 rc += sigaction(SIGFPE, &action, nullptr); in InitPlatformSignalHandlers() 406 rc += sigaction(SIGILL, &action, nullptr); in InitPlatformSignalHandlers() 407 rc += sigaction(SIGPIPE, &action, nullptr); in InitPlatformSignalHandlers() 408 rc += sigaction(SIGSEGV, &action, nullptr); in InitPlatformSignalHandlers() 410 rc += sigaction(SIGSTKFLT, &action, nullptr); in InitPlatformSignalHandlers() [all …]
|
D | runtime_android.cc | 33 struct sigaction old_action; 60 struct sigaction action; in InitPlatformSignalHandlers() 69 rc += sigaction(SIGSEGV, &action, &old_action); in InitPlatformSignalHandlers()
|
D | fault_handler.h | 71 struct sigaction oldaction_;
|
/art/runtime/arch/arm/ |
D | instruction_set_features_arm.cc | 206 struct sigaction sa, osa; in FromAssembly() 209 sigaction(SIGILL, &sa, &osa); in FromAssembly() 219 sigaction(SIGILL, &osa, nullptr); in FromAssembly()
|
/art/test/115-native-bridge/ |
D | nativebridge.cc | 197 struct sigaction tmp; in trampoline_Java_Main_testSignal() 205 sigaction(SIGSEGV, &tmp, nullptr); in trampoline_Java_Main_testSignal() 218 sigaction(SIGILL, &tmp, nullptr); in trampoline_Java_Main_testSignal()
|