/external/libchrome/sandbox/linux/services/ |
D | syscall_wrappers.cc | 160 struct sigaction* oldact) { in sys_sigaction() argument 161 return sigaction(signum, act, oldact); in sys_sigaction() 221 struct sigaction* oldact) { in sys_sigaction() argument 246 oldact ? &linux_oldact : nullptr, in sys_sigaction() 249 if (result == 0 && oldact) { in sys_sigaction() 250 oldact->sa_handler = linux_oldact.kernel_handler; in sys_sigaction() 251 sigemptyset(&oldact->sa_mask); in sys_sigaction() 252 std::memcpy(&oldact->sa_mask, &linux_oldact.sa_mask, in sys_sigaction() 254 oldact->sa_flags = linux_oldact.sa_flags; in sys_sigaction()
|
D | syscall_wrappers.h | 81 struct sigaction* oldact);
|
/external/libchrome/base/posix/ |
D | unix_domain_socket_linux_unittest.cc | 63 struct sigaction act = {}, oldact; in TEST() local 65 ASSERT_EQ(0, sigaction(SIGPIPE, &act, &oldact)); in TEST() 79 ASSERT_EQ(0, sigaction(SIGPIPE, &oldact, NULL)); in TEST()
|
/external/valgrind/coregrind/ |
D | m_libcsignal.c | 262 vki_sigaction_fromK_t* oldact) in VG_() 268 signum, (UWord)act, (UWord)oldact, in VG_() 300 real_oldact = oldact ? &oldactCopy.oa : NULL; in VG_() 313 *oldact = *real_oldact; in VG_() 320 signum, (UWord)act, (UWord)oldact); in VG_()
|
D | pub_core_libcsignal.h | 68 vki_sigaction_fromK_t* oldact );
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux_libcdep.cc | 66 real_sigaction(int signum, const void *act, void *oldact); 68 int internal_sigaction(int signum, const void *act, void *oldact) { in internal_sigaction() argument 71 return real_sigaction(signum, act, oldact); in internal_sigaction() 74 (struct sigaction *)oldact); in internal_sigaction()
|
D | sanitizer_linux.h | 45 int internal_sigaction_norestorer(int signum, const void *act, void *oldact);
|
D | sanitizer_posix.h | 80 int internal_sigaction(int signum, const void *act, void *oldact);
|
D | sanitizer_mac.cc | 156 int internal_sigaction(int signum, const void *act, void *oldact) { in internal_sigaction() argument 158 (struct sigaction *)act, (struct sigaction *)oldact); in internal_sigaction()
|
D | sanitizer_linux.cc | 568 int internal_sigaction_norestorer(int signum, const void *act, void *oldact) { in internal_sigaction_norestorer() argument 573 __sanitizer_sigaction *u_oldact = (__sanitizer_sigaction *)oldact; in internal_sigaction_norestorer()
|
/external/compiler-rt/lib/asan/ |
D | asan_interceptors.cc | 289 struct sigaction *oldact) { in INTERCEPTOR() argument 291 return REAL(sigaction)(signum, act, oldact); in INTERCEPTOR() 297 int real_sigaction(int signum, const void *act, void *oldact) { in real_sigaction() argument 299 (struct sigaction *)oldact); in real_sigaction() 306 struct sigaction *oldact)
|
D | asan_interceptors.h | 93 struct sigaction *oldact) in DECLARE_REAL() argument
|
/external/compiler-rt/test/dfsan/ |
D | custom.cc | 612 struct sigaction oldact; in test_sigaction() local 613 dfsan_set_label(j_label, &oldact, 1); in test_sigaction() 614 int ret = sigaction(SIGUSR1, NULL, &oldact); in test_sigaction() 616 ASSERT_READ_ZERO_LABEL(&oldact, sizeof(oldact)); in test_sigaction()
|
/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 1178 __sanitizer_sigaction *oldact) { in INTERCEPTOR() argument 1200 res = REAL(sigaction)(signo, pnew_act, oldact); in INTERCEPTOR() 1201 if (res == 0 && oldact) { in INTERCEPTOR() 1202 uptr cb = (uptr)oldact->sigaction; in INTERCEPTOR() 1204 oldact->sigaction = (void (*)(int, void *, void *))old_cb; in INTERCEPTOR() 1208 res = REAL(sigaction)(signo, act, oldact); in INTERCEPTOR() 1211 if (res == 0 && oldact) { in INTERCEPTOR() 1212 __msan_unpoison(oldact, sizeof(__sanitizer_sigaction)); in INTERCEPTOR()
|
/external/google-breakpad/src/third_party/lss/ |
D | linux_syscall_support.h | 3237 struct kernel_sigaction *oldact) { in LSS_NAME() 3247 return LSS_NAME(rt_sigaction)(signum, &a, oldact, in LSS_NAME() 3250 return LSS_NAME(rt_sigaction)(signum, act, oldact, in LSS_NAME() 3477 struct kernel_sigaction *oldact) { in _syscall2() 3501 rc = LSS_NAME(rt_sigaction)(signum, act ? &a : act, oldact, in _syscall2() 3515 if (!oldact) { in _syscall2() 3520 if (rc == 0 && oldact) { in _syscall2() 3522 memcpy(oldact, act, sizeof(*act)); in _syscall2() 3524 memset(oldact, 0, sizeof(*oldact)); in _syscall2() 3526 oldact->sa_handler_ = ptr_oa->sa_handler_; in _syscall2() [all …]
|
/external/compiler-rt/lib/dfsan/ |
D | dfsan_custom.cc | 736 struct sigaction *oldact, dfsan_label signum_label, in __dfsw_sigaction() argument 739 int ret = sigaction(signum, act, oldact); in __dfsw_sigaction() 740 if (oldact) { in __dfsw_sigaction() 741 dfsan_set_label(0, oldact, sizeof(struct sigaction)); in __dfsw_sigaction()
|
/external/compiler-rt/lib/msan/tests/ |
D | msan_test.cc | 2299 struct sigaction oldact = {}; in TEST() local 2316 sigaction(SIGPROF, &act, &oldact); in TEST() 2317 EXPECT_FALSE(oldact.sa_flags & SA_SIGINFO); in TEST() 2318 EXPECT_EQ(SIG_DFL, oldact.sa_handler); in TEST() 2323 sigaction(SIGPROF, &act, &oldact); in TEST() 2324 EXPECT_FALSE(oldact.sa_flags & SA_SIGINFO); in TEST() 2325 EXPECT_EQ(SIG_IGN, oldact.sa_handler); in TEST() 2330 sigaction(SIGPROF, &act, &oldact); in TEST() 2331 EXPECT_TRUE(oldact.sa_flags & SA_SIGINFO); in TEST() 2332 EXPECT_EQ(&SigactionHandler, oldact.sa_sigaction); in TEST()
|
/external/ppp/pppd/ |
D | main.c | 1436 struct sigaction act, oldact; local 1467 sigaction(sig, &act, &oldact); 1468 sigaction(sig, &oldact, NULL);
|
/external/valgrind/memcheck/tests/x86-linux/ |
D | scalar.stderr.exp | 683 Syscall param sigaction(oldact) contains uninitialised byte(s) 708 Syscall param sigaction(oldact) points to unaddressable byte(s) 2103 Syscall param rt_sigaction(oldact) contains uninitialised byte(s) 2132 Syscall param rt_sigaction(oldact) points to unaddressable byte(s)
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-linux.c | 3209 struct old_sigaction *, oldact); in PRE() 3307 struct sigaction *, oldact, vki_size_t, sigsetsize); in PRE()
|
D | syswrap-darwin.c | 2208 vki_sigaction_fromK_t *, oldact); in PRE()
|