Home
last modified time | relevance | path

Searched refs:oldact (Results 1 – 21 of 21) sorted by relevance

/external/libchrome/sandbox/linux/services/
Dsyscall_wrappers.cc160 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()
Dsyscall_wrappers.h81 struct sigaction* oldact);
/external/libchrome/base/posix/
Dunix_domain_socket_linux_unittest.cc63 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/
Dm_libcsignal.c262 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_()
Dpub_core_libcsignal.h68 vki_sigaction_fromK_t* oldact );
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_libcdep.cc66 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()
Dsanitizer_linux.h45 int internal_sigaction_norestorer(int signum, const void *act, void *oldact);
Dsanitizer_posix.h80 int internal_sigaction(int signum, const void *act, void *oldact);
Dsanitizer_mac.cc156 int internal_sigaction(int signum, const void *act, void *oldact) { in internal_sigaction() argument
158 (struct sigaction *)act, (struct sigaction *)oldact); in internal_sigaction()
Dsanitizer_linux.cc568 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/
Dasan_interceptors.cc289 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)
Dasan_interceptors.h93 struct sigaction *oldact) in DECLARE_REAL() argument
/external/compiler-rt/test/dfsan/
Dcustom.cc612 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/
Dmsan_interceptors.cc1178 __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/
Dlinux_syscall_support.h3237 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/
Ddfsan_custom.cc736 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/
Dmsan_test.cc2299 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/
Dmain.c1436 struct sigaction act, oldact; local
1467 sigaction(sig, &act, &oldact);
1468 sigaction(sig, &oldact, NULL);
/external/valgrind/memcheck/tests/x86-linux/
Dscalar.stderr.exp683 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/
Dsyswrap-linux.c3209 struct old_sigaction *, oldact); in PRE()
3307 struct sigaction *, oldact, vki_size_t, sigsetsize); in PRE()
Dsyswrap-darwin.c2208 vki_sigaction_fromK_t *, oldact); in PRE()