Home
last modified time | relevance | path

Searched refs:SIGSYS (Results 1 - 25 of 142) sorted by relevance

123456

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
H A D28-21.c24 * -> 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 D22-21.c18 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 D3-21.c15 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 D19-21.c25 * -> 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 D25-21.c17 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 D8-22.c26 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 D1-21.c17 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 D12-47.c29 printf("Caught SIGSYS\n"); in handler()
50 if (sigaction(SIGSYS, &act, 0) == -1) { in main()
62 if (raise(SIGSYS) == -1) { in main()
H A D4-21.c16 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 D6-21.c9 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 D13-21.c30 printf("Caught SIGSYS\n"); in handler()
51 if (sigaction(SIGSYS, &act, 0) == -1) { in main()
63 if (raise(SIGSYS) == -1) { in main()
H A D18-21.c24 * -> 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 D2-21.c14 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 D12-21.c31 printf("Caught SIGSYS\n"); in handler()
52 if (sigaction(SIGSYS, &act, 0) == -1) { in main()
72 if (raise(SIGSYS) == -1) { in main()
H A D4-47.c16 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 D8-21.c31 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 D17-21.c10 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 Dprctl04.c20 * 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 Dsigname.h96 #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 Dsignal.h82 #define SIGSYS 31 macro
83 #define SIGUNUSED SIGSYS
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
H A Dsignal.h83 #define SIGSYS 31 macro
84 #define SIGUNUSED SIGSYS
/third_party/musl/porting/uniproton/kernel/include/bits/
H A Dsignal.h83 #define SIGSYS 31 macro
84 #define SIGUNUSED SIGSYS
/third_party/musl/porting/liteos_m/kernel/include/bits/
H A Dsignal.h83 #define SIGSYS 31 macro
84 #define SIGUNUSED SIGSYS
/third_party/musl/src/string/
H A Dstrsignal.c12 && (SIGPOLL == 29) && (SIGPWR == 30) && (SIGSYS == 31)
53 [SIGSYS] = 31
/third_party/musl/arch/arm/bits/
H A Dsignal.h83 #define SIGSYS 31 macro
84 #define SIGUNUSED SIGSYS

Completed in 10 milliseconds

123456