/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
3-21.c | 15 2. Set the signal handler for SIGSYS to handler 17 4. raise SIGSYS 40 if (sigaction(SIGSYS, &act, 0) == -1) { 46 if (sigaction(SIGSYS, 0, &oact) == -1) { 52 if (raise(SIGSYS) == -1) {
|
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) { 46 if (raise(SIGSYS) == -1) {
|
28-21.c | 24 * -> register a signal handler for SIGSYS with signal(). 65 if (signal(SIGSYS, handler_1) == SIG_ERR) { 85 ret = sigaction(SIGSYS, &sa, &save); 93 ret = raise(SIGSYS); 106 ret = sigaction(SIGSYS, &save, 0); 114 ret = raise(SIGSYS);
|
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 44 printf("SIGSYS caught\n"); 54 printf("Raising SIGSYS\n"); 55 raise(SIGSYS); 56 printf("Returning from raising SIGSYS\n"); 72 if (sigaction(SIGSYS, &act, 0) == -1) { 78 if (raise(SIGSYS) == -1) {
|
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"); 52 printf("Raising SIGSYS\n"); 53 raise(SIGSYS); 54 printf("Returning from raising SIGSYS\n"); 70 if (sigaction(SIGSYS, &act, 0) == -1) { 76 if (raise(SIGSYS) == -1) {
|
8-22.c | 26 printf("Caught SIGSYS\n"); 32 raise(SIGSYS); 46 sigaddset(&act.sa_mask, SIGSYS); 56 if (sigaction(SIGSYS, &act, 0) == -1) {
|
13-21.c | 31 printf("Caught SIGSYS\n"); 52 if (sigaction(SIGSYS, &act, 0) == -1) { 64 if (raise(SIGSYS) == -1) {
|
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, 42 if (sigaction(SIGSYS, &act, 0) == -1) { 50 if (sigaction(SIGSYS, &act, &oact) == -1) {
|
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) { 60 if (raise(SIGSYS) == -1) {
|
6-21.c | 9 setting the SA_INFO bit in the signal mask for SIGSYS will result 37 if (sigaction(SIGSYS, &act, 0) == -1) { 43 if (raise(SIGSYS) == -1) {
|
12-21.c | 32 printf("Caught SIGSYS\n"); 53 if (sigaction(SIGSYS, &act, 0) == -1) { 73 if (raise(SIGSYS) == -1) {
|
12-47.c | 30 printf("Caught SIGSYS\n"); 51 if (sigaction(SIGSYS, &act, 0) == -1) { 63 if (raise(SIGSYS) == -1) {
|
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. 68 /* Install the signal handler for SIGSYS */ 69 ret = sigaction(SIGSYS, &sa, 0); 82 ret = raise(SIGSYS); 85 perror("Failed to raise SIGSYS");
|
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) { 59 if (raise(SIGSYS) == -1) {
|
8-21.c | 31 printf("Caught SIGSYS\n"); 47 if (sigaction(SIGSYS, &act, 0) == -1) { 62 if (raise(SIGSYS) == -1) {
|
4-73.c | 10 that attempting to add SIGKILL to the signal mask of SIGSYS will 33 if (sigaction(SIGSYS, &act, 0) == -1) {
|
4-99.c | 10 that attempting to add SIGSTOP to the signal mask of SIGSYS will 33 if (sigaction(SIGSYS, &act, 0) == -1) {
|
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. 54 if (info->si_signo != SIGSYS) { 88 /* Install the signal handler for SIGSYS */ 89 ret = sigaction(SIGSYS, &sa, 0); 102 ret = raise(SIGSYS); 105 perror("Failed to raise SIGSYS");
|
/bionic/tests/ |
BionicDeathTest.h | 32 for (int signo : { SIGABRT, SIGBUS, SIGSEGV, SIGSYS }) { 39 for (int signo : { SIGABRT, SIGBUS, SIGSEGV, SIGSYS }) {
|
/external/chromium-trace/catapult/devil/devil/android/ |
device_signal.py | 41 SIGSYS = 31 # Bad system call
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
device_signal.py | 41 SIGSYS = 31 # Bad system call
|
/external/minijail/ |
signal_handler.c | 31 struct local_sigsys sigsys; local 33 memcpy(&sigsys, &info->_sifields, sizeof(sigsys)); 34 syscall_name = lookup_syscall_name(sigsys.nr); 62 sigaddset(&mask, SIGSYS); 64 ret = sigaction(SIGSYS, &act, NULL);
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/ |
13-1.c | 35 (0 == SIGSYS) ||
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
signum.h | 66 #define SIGSYS 31 /* Bad system call. */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/ |
signum.h | 66 #define SIGSYS 31 /* Bad system call. */
|