Home
last modified time | relevance | path

Searched refs:newact (Results 1 – 6 of 6) sorted by relevance

/external/perfetto/src/base/
Dwatchdog_unittest.cc128 struct sigaction newact = {}; in TEST() local
129 newact.sa_handler = SIGABRTHandler; in TEST()
130 ASSERT_EQ(sigaction(SIGABRT, &newact, &oldact), 0); in TEST()
Dunix_socket_unittest.cc694 struct sigaction newact = {}; in TEST_F() local
695 newact.sa_handler = Handler; in TEST_F()
696 ASSERT_EQ(sigaction(SIGWINCH, &newact, &oldact), 0); in TEST_F()
/external/linux-kselftest/tools/testing/selftests/x86/
Dprotection_keys.c347 struct sigaction newact; in setup_sigsegv_handler() local
353 newact.sa_handler = 0; in setup_sigsegv_handler()
354 newact.sa_sigaction = signal_handler; in setup_sigsegv_handler()
358 rs = sigprocmask(SIG_SETMASK, 0, &newact.sa_mask); in setup_sigsegv_handler()
362 newact.sa_flags = SA_SIGINFO; in setup_sigsegv_handler()
364 newact.sa_restorer = 0; /* void(*)(), obsolete */ in setup_sigsegv_handler()
365 r = sigaction(signum, &newact, &oldact); in setup_sigsegv_handler()
366 r = sigaction(SIGALRM, &newact, &oldact); in setup_sigsegv_handler()
/external/e2fsprogs/lib/support/
Dquotaio_tree.c256 int newson = 0, newact = 0; in do_insert_tree() local
272 newact = 1; in do_insert_tree()
295 } else if (newact && ret < 0) { in do_insert_tree()
/external/f2fs-tools/fsck/
Dquotaio_tree.c256 int newson = 0, newact = 0; in do_insert_tree() local
272 newact = 1; in do_insert_tree()
297 } else if (newact && ret < 0) { in do_insert_tree()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors.cc1935 sigaction_t newact; in TSAN_INTERCEPTOR() local
1936 internal_memcpy(&newact, act, sizeof(newact)); in TSAN_INTERCEPTOR()
1937 internal_sigfillset(&newact.sa_mask); in TSAN_INTERCEPTOR()
1939 if (newact.sa_flags & SA_SIGINFO) in TSAN_INTERCEPTOR()
1940 newact.sa_sigaction = rtl_sigaction; in TSAN_INTERCEPTOR()
1942 newact.sa_handler = rtl_sighandler; in TSAN_INTERCEPTOR()
1945 int res = REAL(sigaction)(sig, &newact, 0); in TSAN_INTERCEPTOR()