Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/x86/
Dprotection_keys.c349 struct sigaction newact; in setup_sigsegv_handler() local
355 newact.sa_handler = 0; in setup_sigsegv_handler()
356 newact.sa_sigaction = signal_handler; in setup_sigsegv_handler()
360 rs = sigprocmask(SIG_SETMASK, 0, &newact.sa_mask); in setup_sigsegv_handler()
364 newact.sa_flags = SA_SIGINFO; in setup_sigsegv_handler()
366 newact.sa_restorer = 0; /* void(*)(), obsolete */ in setup_sigsegv_handler()
367 r = sigaction(signum, &newact, &oldact); in setup_sigsegv_handler()
368 r = sigaction(SIGALRM, &newact, &oldact); in setup_sigsegv_handler()
Dmpx-mini-test.c689 struct sigaction newact; in setup_handler() local
695 newact.sa_handler = 0; /* void(*)(int)*/ in setup_handler()
696 newact.sa_sigaction = handler; /* void (*)(int, siginfo_t*, void *) */ in setup_handler()
700 rs = sigprocmask(SIG_SETMASK, 0, &newact.sa_mask); in setup_handler()
704 newact.sa_flags = SA_SIGINFO; in setup_handler()
706 newact.sa_restorer = 0; /* void(*)(), obsolete */ in setup_handler()
707 r = sigaction(signum, &newact, &oldact); in setup_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()
295 } 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()