Home
last modified time | relevance | path

Searched refs:WTERMSIG (Results 1 – 25 of 180) sorted by relevance

12345678

/external/selinux/libsepol/cil/test/unit/
Dtest_integration.c45 if (WIFSIGNALED(status) && (WTERMSIG(status) == SIGINT || WTERMSIG(status) == SIGQUIT)) in test_integration()
50 if (WIFSIGNALED(status1) && (WTERMSIG(status1) == SIGINT || WTERMSIG(status1) == SIGQUIT)) in test_integration()
55 if (WIFSIGNALED(status2) && (WTERMSIG(status2) == SIGINT || WTERMSIG(status2) == SIGQUIT)) in test_integration()
71 if (WIFSIGNALED(status) && (WTERMSIG(status) == SIGINT || WTERMSIG(status) == SIGQUIT)) in test_min_policy()
/external/bison/lib/
Dsys_wait.in.h54 # define WIFSIGNALED(x) (WTERMSIG (x) != 0 && WTERMSIG(x) != 0x7f)
57 # define WIFEXITED(x) (WTERMSIG (x) == 0)
60 # define WIFSTOPPED(x) (WTERMSIG (x) == 0x7f)
64 # ifndef WTERMSIG
65 # define WTERMSIG(x) ((x) & 0x7f) macro
98 # define WTERMSIG(x) SIGTERM
Dwait-process.c339 *termsigp = WTERMSIG (status); in wait_subprocess()
341 if (WTERMSIG (status) == SIGPIPE && ignore_sigpipe) in wait_subprocess()
347 progname, (int) WTERMSIG (status)); in wait_subprocess()
/external/bison/linux-lib/sys/
Dwait.h356 # define WIFSIGNALED(x) (WTERMSIG (x) != 0 && WTERMSIG(x) != 0x7f)
359 # define WIFEXITED(x) (WTERMSIG (x) == 0)
362 # define WIFSTOPPED(x) (WTERMSIG (x) == 0x7f)
366 # ifndef WTERMSIG
367 # define WTERMSIG(x) ((x) & 0x7f) macro
400 # define WTERMSIG(x) SIGTERM macro
/external/bison/darwin-lib/sys/
Dwait.h356 # define WIFSIGNALED(x) (WTERMSIG (x) != 0 && WTERMSIG(x) != 0x7f)
359 # define WIFEXITED(x) (WTERMSIG (x) == 0)
362 # define WIFSTOPPED(x) (WTERMSIG (x) == 0x7f)
366 # ifndef WTERMSIG
367 # define WTERMSIG(x) ((x) & 0x7f) macro
400 # define WTERMSIG(x) SIGTERM macro
/external/valgrind/none/tests/solaris/
Dblock_all_signals.c41 assert(WTERMSIG(status) != 0); in main()
43 if (WTERMSIG(status) == SIGSEGV) { in main()
47 WTERMSIG(status)); in main()
/external/ltp/testcases/kernel/containers/pidns/
Dpidns13.c214 if (WIFSIGNALED(status) && WTERMSIG(status)) in main()
216 strsignal(WTERMSIG(status))); in main()
221 if (WIFSIGNALED(status) && WTERMSIG(status)) in main()
223 strsignal(WTERMSIG(status))); in main()
Dpidns17.c108 if (!(WIFSIGNALED(status) || WTERMSIG(status) == SIGUSR1)) { in child_fn()
120 WIFSIGNALED(status), WTERMSIG(status)); in child_fn()
160 WTERMSIG(status)); in main()
Dpidns12.c161 if (WIFSIGNALED(status) && WTERMSIG(status)) in main()
163 strsignal(WTERMSIG(status))); in main()
Dpidns20.c199 if (WTERMSIG(status) == SIGUSR1) in main()
205 WTERMSIG(status)); in main()
/external/valgrind/memcheck/tests/
Daddressable.c141 assert(WTERMSIG(status) != 0); in main()
144 (WTERMSIG(status) == SIGSEGV || in main()
145 WTERMSIG(status) == SIGBUS)) in main()
149 WTERMSIG(status)); in main()
/external/valgrind/none/tests/
Dasync-sigs.c73 WIFEXITED(status) ? WEXITSTATUS(status) : WTERMSIG(status)); in do_kill()
126 } else if (!WIFSIGNALED(status) || WTERMSIG(status) != fatalsig) { in test()
129 WIFEXITED(status) ? WEXITSTATUS(status) : WTERMSIG(status)); in test()
/external/ltp/testcases/kernel/syscalls/pause/
Dpause03.c74 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGKILL) { in main()
81 tst_strsig(WTERMSIG(status))); in main()
/external/ltp/testcases/kernel/syscalls/fork/
Dfork12.c83 if (WTERMSIG(status) == SIGKILL) in main()
87 WEXITSTATUS(status), WTERMSIG(status)); in main()
/external/ltp/testcases/kernel/syscalls/epoll/
Depoll-ltp.c161 WTERMSIG(kid_status), strsignal(WTERMSIG(kid_status))); \
191 WTERMSIG(kid_status), strsignal(WTERMSIG(kid_status))); \
/external/ltp/testcases/kernel/syscalls/ptrace/
Dptrace05.c148 if (WTERMSIG(status) == SIGKILL) { in main()
184 WTERMSIG(status)); in main()
/external/ltp/testcases/kernel/syscalls/signal/
Dsignal01.c128 if (WTERMSIG(res) == SIGKILL) { in do_test()
132 tst_strsig(WTERMSIG(res))); in do_test()
/external/strace/
Dwait.c82 signame(WTERMSIG(status)), in printstatus()
84 status &= ~(W_EXITCODE(0, WTERMSIG(status)) | WCOREFLAG); in printstatus()
/external/ltp/testcases/kernel/ipc/ipc_stress/
Dsignal_test_04.c206 if (WTERMSIG(status) != SIGUSR2) { in main()
209 WTERMSIG(status)); in main()
/external/ltp/testcases/kernel/mem/tunable/
Dmin_free_kbytes.c158 if (!WIFSIGNALED(status) || WTERMSIG(status) != SIGKILL) in test_tune()
180 WTERMSIG(status) != SIGKILL) { in test_tune()
/external/bison/m4/
Dposix_spawn.m4118 #ifndef WTERMSIG
119 # define WTERMSIG(x) ((x) & 0x7f)
122 # define WIFEXITED(x) (WTERMSIG (x) == 0)
261 #ifndef WTERMSIG
262 # define WTERMSIG(x) ((x) & 0x7f)
265 # define WIFEXITED(x) (WTERMSIG (x) == 0)
/external/fio/os/windows/posix/include/sys/
Dwait.h6 #define WTERMSIG(a) 0 macro
/external/google-breakpad/src/common/linux/tests/
Dcrash_generator.cc243 if (!WIFSIGNALED(status) || WTERMSIG(status) != crash_signal) { in CreateChildCrash()
247 WTERMSIG(status), crash_signal); in CreateChildCrash()
/external/ltp/testcases/kernel/syscalls/clone/
Dclone02.c159 if (WTERMSIG(status)) in main()
161 WTERMSIG(status)); in main()
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dtest_harness.h458 if (WTERMSIG(status) == SIGABRT) { in test_harness_run()
462 } else if (WTERMSIG(status) == t->termsig) { in test_harness_run()
468 WTERMSIG(status)); in test_harness_run()

12345678