/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
H A D | 28-21.c | 24 * -> register a signal handler for SIGSYS with signal(). 63 if (signal(SIGSYS, handler_1) == SIG_ERR) { in main() 83 ret = sigaction(SIGSYS, &sa, &save); in main() 91 ret = raise(SIGSYS); in main() 104 ret = sigaction(SIGSYS, &save, 0); in main() 112 ret = raise(SIGSYS); in main()
|
H A D | 22-21.c | 18 3. (child) Setup a signal handler for SIGSYS with SA_NODEFER set 20 4. (child) raise SIGSYS 22 6. (child, signal handler) if count is 1 then raise SIGSYS 43 printf("SIGSYS caught\n"); in handler() 53 printf("Raising SIGSYS\n"); in handler() 54 raise(SIGSYS); in handler() 55 printf("Returning from raising SIGSYS\n"); in handler() 71 if (sigaction(SIGSYS, &act, 0) == -1) { in main() 77 if (raise(SIGSYS) == -1) { in main()
|
H A D | 3-21.c | 15 2. Set the signal handler for SIGSYS to handler 17 4. raise SIGSYS 40 if (sigaction(SIGSYS, &act, 0) == -1) { in main() 46 if (sigaction(SIGSYS, 0, &oact) == -1) { in main() 52 if (raise(SIGSYS) == -1) { in main()
|
H A D | 19-21.c | 25 * -> register a handler for SIGSYS with SA_SIGINFO, and a known function 27 * -> raise SIGSYS, and check the function has been called. 50 if (info->si_signo != SIGSYS) { in handler() 84 /* Install the signal handler for SIGSYS */ in main() 85 ret = sigaction(SIGSYS, &sa, 0); in main() 98 ret = raise(SIGSYS); in main() 101 perror("Failed to raise SIGSYS"); in main()
|
H A D | 25-21.c | 17 3. (child) Setup a signal handler for SIGSYS 18 4. (child) raise SIGSYS 20 6. (child, signal handler) if count is 1 then raise SIGSYS 41 printf("SIGSYS caught\n"); in handler() 52 printf("Raising SIGSYS\n"); in handler() 53 raise(SIGSYS); in handler() 54 printf("Returning from raising SIGSYS\n"); in handler() 70 if (sigaction(SIGSYS, &act, 0) == -1) { in main() 76 if (raise(SIGSYS) == -1) { in main()
|
H A D | 8-22.c | 26 printf("Caught SIGSYS\n"); in SIGSYS_handler() 32 raise(SIGSYS); in SIGTRAP_handler() 46 sigaddset(&act.sa_mask, SIGSYS); in main() 56 if (sigaction(SIGSYS, &act, 0) == -1) { in main()
|
H A D | 1-21.c | 17 2. Use sigaction to setup a signal handler for SIGSYS 18 3. Raise SIGSYS. 40 if (sigaction(SIGSYS, &act, 0) == -1) { in main() 46 if (raise(SIGSYS) == -1) { in main()
|
H A D | 12-47.c | 29 printf("Caught SIGSYS\n"); in handler() 50 if (sigaction(SIGSYS, &act, 0) == -1) { in main() 62 if (raise(SIGSYS) == -1) { in main()
|
H A D | 4-21.c | 16 3. (child) Setup a signal handler for SIGSYS with SIGKILL added to 18 4. (child) raise SIGSYS 54 if (sigaction(SIGSYS, &act, 0) == -1) { in main() 60 if (raise(SIGSYS) == -1) { in main()
|
H A D | 6-21.c | 9 setting the SA_INFO bit in the signal mask for SIGSYS will result 38 if (sigaction(SIGSYS, &act, 0) == -1) { in main() 44 if (raise(SIGSYS) == -1) { in main()
|
H A D | 13-21.c | 30 printf("Caught SIGSYS\n"); in handler() 51 if (sigaction(SIGSYS, &act, 0) == -1) { in main() 63 if (raise(SIGSYS) == -1) { in main()
|
H A D | 18-21.c | 24 * -> register a handler for SIGSYS without SA_SIGINFO, and a known function 26 * -> raise SIGSYS, and check the function has been called. 66 /* Install the signal handler for SIGSYS */ in main() 67 ret = sigaction(SIGSYS, &sa, 0); in main() 80 ret = raise(SIGSYS); in main() 83 perror("Failed to raise SIGSYS"); in main()
|
H A D | 2-21.c | 14 1. Call sigaction to set handler for SIGSYS to use handler1 15 2. Call sigaction again to set handler for SIGSYS to use handler2, 40 if (sigaction(SIGSYS, &act, 0) == -1) { in main() 48 if (sigaction(SIGSYS, &act, &oact) == -1) { in main()
|
H A D | 12-21.c | 31 printf("Caught SIGSYS\n"); in handler() 52 if (sigaction(SIGSYS, &act, 0) == -1) { in main() 72 if (raise(SIGSYS) == -1) { in main()
|
H A D | 4-47.c | 16 3. (child) Setup a signal handler for SIGSYS with SIGSTOP added to 18 4. (child) raise SIGSYS 53 if (sigaction(SIGSYS, &act, 0) == -1) { in main() 59 if (raise(SIGSYS) == -1) { in main()
|
H A D | 8-21.c | 31 printf("Caught SIGSYS\n"); in SIGSYS_handler() 47 if (sigaction(SIGSYS, &act, 0) == -1) { in main() 62 if (raise(SIGSYS) == -1) { in main()
|
H A D | 17-21.c | 10 errno set to EINTR if a handler for the SIGSYS signal is setup with 32 printf("Caught SIGSYS\n"); in handler() 48 sigaction(SIGSYS, &act, 0); in main() 67 process sending the SIGSYS signal, and the in main() 82 kill(pid, SIGSYS); in main()
|
/third_party/ltp/testcases/kernel/syscalls/prctl/ |
H A D | prctl04.c | 20 * Filter. Other system calls result int the delivery of a SIGSYS signal 84 {check_filter_mode, 1, 1, SIGSYS, 87 {check_filter_mode, 0, 2, SIGSYS, 90 {check_filter_mode, 2, 3, SIGSYS, 93 {check_filter_mode, 0, 4, SIGSYS, 112 if (WIFSIGNALED(childstatus) && WTERMSIG(childstatus) == SIGSYS) in check_filter_mode_inherit()
|
/third_party/ltp/lib/ |
H A D | signame.h | 96 #if defined(SIGSYS) in tst_strsig() 99 * with SIGSYS on most architectures. in tst_strsig() 101 STRPAIR(SIGSYS, "SIGSYS/SIGUNUSED") in tst_strsig()
|
/third_party/musl/porting/liteos_a/kernel/include/bits/ |
H A D | signal.h | 82 #define SIGSYS 31 macro 83 #define SIGUNUSED SIGSYS
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/ |
H A D | signal.h | 83 #define SIGSYS 31 macro 84 #define SIGUNUSED SIGSYS
|
/third_party/musl/porting/uniproton/kernel/include/bits/ |
H A D | signal.h | 83 #define SIGSYS 31 macro 84 #define SIGUNUSED SIGSYS
|
/third_party/musl/porting/liteos_m/kernel/include/bits/ |
H A D | signal.h | 83 #define SIGSYS 31 macro 84 #define SIGUNUSED SIGSYS
|
/third_party/musl/src/string/ |
H A D | strsignal.c | 12 && (SIGPOLL == 29) && (SIGPWR == 30) && (SIGSYS == 31) 53 [SIGSYS] = 31
|
/third_party/musl/arch/arm/bits/ |
H A D | signal.h | 83 #define SIGSYS 31 macro 84 #define SIGUNUSED SIGSYS
|