/external/ltp/testcases/kernel/controllers/cgroup/ |
test_3_1.sh | 25 trap exit SIGUSR1
|
test_3_2.sh | 25 trap exit SIGUSR1
|
test_10_2.sh | 25 trap exit SIGUSR1
|
test_9_2.sh | 25 trap exit SIGUSR1
|
test_10_1.sh | 25 trap exit SIGUSR1
|
test_6_1.sh | 25 trap exit SIGUSR1
|
test_9_1.sh | 25 trap exit SIGUSR1
|
/external/valgrind/none/tests/ |
pth_blockedsig.stdout.exp | 1 thread CHILD sending SIGUSR1 to thread MAIN
|
sigstackgrowth.c | 40 kill(getpid(), SIGUSR1); 54 sigaction(SIGUSR1, &sa, NULL); 56 kill(getpid(), SIGUSR1);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
3-17.c | 15 2. Set the signal handler for SIGUSR1 to handler 17 4. raise SIGUSR1 40 if (sigaction(SIGUSR1, &act, 0) == -1) { 46 if (sigaction(SIGUSR1, 0, &oact) == -1) { 52 if (raise(SIGUSR1) == -1) {
|
1-17.c | 17 2. Use sigaction to setup a signal handler for SIGUSR1 18 3. Raise SIGUSR1. 40 if (sigaction(SIGUSR1, &act, 0) == -1) { 46 if (raise(SIGUSR1) == -1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/ |
2-1.c | 12 "myhandler" for SIGUSR1. Then another call to signal() is made about 13 SIGUSR1, this time with SIG_IGN as the value of the func parameter. 14 SIGUSR1 should be ignored now, so unless myhandler gets called when 15 SIGUSR1 is raised, the test passes, otherwise returns failure. 30 printf("SIGUSR1 called. Inside handler\n"); 41 if (sigaction(SIGUSR1, &act, 0) != 0) { 46 if (sigset(SIGUSR1, SIG_IGN) != myhandler) { 51 raise(SIGUSR1);
|
9-1.c | 22 printf("SIGUSR1 called. Inside handler\n"); 32 if (sigaction(SIGUSR1, &act, 0) != 0) { 37 if (sigset(SIGUSR1, SIG_DFL) != myhandler) { 39 ("Test FAILED: sigset didn't return myhandler even though it was SIGUSR1's original disposition\n");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/signal/ |
5-1.c | 13 SIGUSR1_handler and SIGUSR2_handler for signals SIGUSR1 and SIGUSR2 14 respectively. A third call to signal() is made regarding signal SIGUSR1. 37 if (signal(SIGUSR1, SIGUSR1_handler) == SIG_ERR) { 47 if (signal(SIGUSR1, SIG_IGN) != SIGUSR1_handler) { 49 ("signal did not return the last handler that was associated with SIGUSR1\n");
|
/external/compiler-rt/test/msan/Linux/ |
syscalls_sigaction.cc | 23 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 20 * 8); 26 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 20 * 8); 29 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 20 * 8); 33 __sanitizer_syscall_pre_rt_sigaction(SIGUSR1, &act, &oldact, 5); 37 __sanitizer_syscall_post_rt_sigaction(0, SIGUSR1, &act, &oldact, 5);
|
/external/compiler-rt/test/msan/ |
sigwait.cc | 12 sigaddset(&s, SIGUSR1); 16 kill(pid, SIGUSR1); 23 assert(sig == SIGUSR1);
|
sigwaitinfo.cc | 12 sigaddset(&s, SIGUSR1); 16 kill(pid, SIGUSR1); 23 assert(info.si_signo == SIGUSR1);
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
vdso_restorer.c | 62 if (syscall(SYS_rt_sigaction, SIGUSR1, &sa, NULL, 8) != 0) 65 raise(SIGUSR1); 76 if (syscall(SYS_sigaction, SIGUSR1, &sa, 0) != 0) 80 raise(SIGUSR1);
|
/external/ltp/testcases/kernel/io/disktest/ |
signals.h | 37 #define SIGUSR1 0x10 /* Definition from POSIX */
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
1-1.c | 32 if (sigaddset(&signalset, SIGUSR1) != 0) { 50 /* Create a child process which wait SIGUSR1 */ 61 kill(child_pid, SIGUSR1); 85 kill(child_pid, SIGUSR1); 91 kill(child_pid, SIGUSR1); 95 kill(child_pid, SIGUSR1); 100 kill(child_pid, SIGUSR1); 110 kill(child_pid, SIGUSR1); 116 kill(child_pid, SIGUSR1);
|
/external/strace/tests/ |
qual_inject-signal.c | 45 if (sigaction(SIGUSR1, &act, NULL)) 50 sigaddset(&mask, SIGUSR1);
|
rt_sigqueueinfo.c | 46 assert(sigaction(SIGUSR1, &sa, NULL) == 0); 47 if (sigqueue(pid, SIGUSR1, value)) 49 printf("rt_sigqueueinfo(%u, SIGUSR1, {si_signo=SIGUSR1, "
|
/external/strace/tests-m32/ |
qual_inject-signal.c | 45 if (sigaction(SIGUSR1, &act, NULL)) 50 sigaddset(&mask, SIGUSR1);
|
rt_sigqueueinfo.c | 46 assert(sigaction(SIGUSR1, &sa, NULL) == 0); 47 if (sigqueue(pid, SIGUSR1, value)) 49 printf("rt_sigqueueinfo(%u, SIGUSR1, {si_signo=SIGUSR1, "
|
/external/strace/tests-mx32/ |
qual_inject-signal.c | 45 if (sigaction(SIGUSR1, &act, NULL)) 50 sigaddset(&mask, SIGUSR1);
|