/external/compiler-rt/test/msan/Linux/ |
syscalls_sigaction.cc | 19 my_kernel_sigaction act = {}, oldact = {}; local 22 __msan_poison(&act.handler, sizeof(act.handler)); 23 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 20 * 8); 25 __msan_poison(&act.flags, sizeof(act.flags)); 26 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 20 * 8); 28 __msan_poison(&act.mask, 1); 29 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 20 * 8); 32 __msan_poison(((char *)&act.mask) + 5, 1) [all...] |
/external/valgrind/none/tests/ |
coolo_sigaction.cpp | 16 struct sigaction act; local 17 act.sa_handler=theHandler; 18 sigemptyset(&(act.sa_mask)); 19 sigaddset(&(act.sa_mask), SIGCHLD); 21 sigprocmask(SIG_UNBLOCK, &(act.sa_mask), 0); 23 act.sa_flags = SA_NOCLDSTOP; 29 act.sa_flags |= SA_RESTART; 32 sigaction( SIGCHLD, &act, &oldChildHandlerData ); 34 act.sa_handler=SIG_IGN; 35 sigemptyset(&(act.sa_mask)) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
4-100.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGSTOP); 33 if (sigaction(SIGTRAP, &act, 0) == -1) {
|
4-101.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGSTOP); 33 if (sigaction(SIGURG, &act, 0) == -1) {
|
4-102.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGSTOP); 33 if (sigaction(SIGVTALRM, &act, 0) == -1) {
|
4-103.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGSTOP); 33 if (sigaction(SIGXCPU, &act, 0) == -1) {
|
4-104.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGSTOP); 33 if (sigaction(SIGXFSZ, &act, 0) == -1) {
|
4-53.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGABRT, &act, 0) == -1) {
|
4-54.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGALRM, &act, 0) == -1) {
|
4-55.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGBUS, &act, 0) == -1) {
|
4-56.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGCHLD, &act, 0) == -1) {
|
4-57.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGCONT, &act, 0) == -1) {
|
4-58.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGFPE, &act, 0) == -1) {
|
4-59.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGHUP, &act, 0) == -1) {
|
4-60.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGILL, &act, 0) == -1) {
|
4-61.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGINT, &act, 0) == -1) {
|
4-62.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGPIPE, &act, 0) == -1) {
|
4-63.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGQUIT, &act, 0) == -1) {
|
4-64.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGSEGV, &act, 0) == -1) {
|
4-65.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGTERM, &act, 0) == -1) {
|
4-66.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGTSTP, &act, 0) == -1) {
|
4-67.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGTTIN, &act, 0) == -1) {
|
4-68.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGTTOU, &act, 0) == -1) {
|
4-69.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGUSR1, &act, 0) == -1) {
|
4-70.c | 27 struct sigaction act; local 29 act.sa_handler = handler; 30 act.sa_flags = 0; 31 sigemptyset(&act.sa_mask); 32 sigaddset(&act.sa_mask, SIGKILL); 33 if (sigaction(SIGUSR2, &act, 0) == -1) {
|