Home
last modified time | relevance | path

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

1234567

/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/setrlimit/
Dsetrlimit06.c84 if (WTERMSIG(status) == SIGKILL && *end == SIGXCPU) { in verify_setrlimit()
90 if (WTERMSIG(status) == SIGKILL && !*end) { in verify_setrlimit()
96 if (WTERMSIG(status) == SIGALRM && *end == SIGXCPU) { in verify_setrlimit()
102 if (WTERMSIG(status) == SIGALRM && !*end) { in verify_setrlimit()
/third_party/musl/libc-test/src/regression/
Dmalloc-double-free-check.c91 if (WTERMSIG(status) != SIGSEGV && WTERMSIG(status) != SIGILL) { in main()
92 t_error("%s child process out with %s\n", argv[0], strsignal(WTERMSIG(status))); in main()
Dmalloc-overflow-check.c104 if (WTERMSIG(status) != SIGSEGV && WTERMSIG(status) != SIGILL) { in main()
105 t_error("%s child process out with %s\n", pname, strsignal(WTERMSIG(status))); in main()
Dmalloc-safe-unlink.c142 if (WTERMSIG(status) != SIGSEGV && WTERMSIG(status) != SIGILL) { in main()
143 t_error("%s child process out with %s\n", argv[0], strsignal(WTERMSIG(status))); in main()
Dmalloc-modify-pointer.c125 if (WTERMSIG(status) != SIGSEGV && WTERMSIG(status) != SIGILL) { in main()
126 t_error("%s child process out with %s\n", argv[0], strsignal(WTERMSIG(status))); in main()
Dmalloc-uaf-check.c131 if (WTERMSIG(status) != SIGSEGV && WTERMSIG(status) != SIGILL) { in main()
132 t_error("%s child process out with %s\n", pname, strsignal(WTERMSIG(status))); in main()
/third_party/ltp/testcases/kernel/containers/pidns/
Dpidns17.c106 if (!(WIFSIGNALED(status) || WTERMSIG(status) == SIGUSR1)) { in child_fn()
118 WIFSIGNALED(status), WTERMSIG(status)); in child_fn()
158 WTERMSIG(status)); in main()
Dpidns12.c159 if (WIFSIGNALED(status) && WTERMSIG(status)) in main()
161 strsignal(WTERMSIG(status))); in main()
Dpidns20.c194 if (WTERMSIG(status) == SIGUSR1) in main()
200 WTERMSIG(status)); in main()
/third_party/ltp/testcases/kernel/security/umip/
Dumip_basic_test.c123 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV) { in verify_umip_instruction()
139 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV) { in verify_umip_instruction()
151 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV) { in verify_umip_instruction()
/third_party/ltp/testcases/kernel/syscalls/waitpid/
Dwaitpid01.c49 if (WTERMSIG(status) != SIGALRM) { in run()
51 tst_strsig(WTERMSIG(status))); in run()
/third_party/musl/ndk_musl_include/sys/
Dwait.h49 #define WTERMSIG(s) ((s) & 0x7f) macro
52 #define WIFEXITED(s) (!WTERMSIG(s))
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dwait.h53 #define WTERMSIG(s) ((s) & 0x7f) macro
56 #define WIFEXITED(s) (!WTERMSIG(s))
/third_party/musl/porting/uniproton/kernel/include/sys/
Dwait.h49 #define WTERMSIG(s) ((s) & 0x7f) macro
52 #define WIFEXITED(s) (!WTERMSIG(s))
/third_party/musl/include/sys/
Dwait.h49 #define WTERMSIG(s) ((s) & 0x7f) macro
52 #define WIFEXITED(s) (!WTERMSIG(s))
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dwait.h49 #define WTERMSIG(s) ((s) & 0x7f) macro
52 #define WIFEXITED(s) (!WTERMSIG(s))
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dwait.h49 #define WTERMSIG(s) ((s) & 0x7f) macro
52 #define WIFEXITED(s) (!WTERMSIG(s))
/third_party/ltp/testcases/kernel/syscalls/pause/
Dpause03.c74 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGKILL) { in main()
81 tst_strsig(WTERMSIG(status))); in main()
/third_party/ltp/testcases/kernel/syscalls/switch/
Dendian_switch01.c47 int sig = WTERMSIG(status); in check_le_switch_supported()
75 int sig = WTERMSIG(status); in test_le_switch()
/third_party/ltp/testcases/kernel/syscalls/fork/
Dfork12.c86 if (WTERMSIG(status) == SIGKILL) in main()
90 WEXITSTATUS(status), WTERMSIG(status)); in main()
/third_party/musl/libc-test/src/functional/
Dvfork.c65 TEST(WTERMSIG(r) == sig, "child is killed by %d, expected %d\n", WTERMSIG(r), sig); in test_shell_kill()
/third_party/ltp/testcases/kernel/syscalls/ptrace/
Dptrace05.c127 if (WTERMSIG(status) == SIGKILL) { in main()
163 WTERMSIG(status)); in main()
/third_party/ltp/testcases/kernel/syscalls/epoll/
Depoll-ltp.c161 WTERMSIG(kid_status), strsignal(WTERMSIG(kid_status))); \
191 WTERMSIG(kid_status), strsignal(WTERMSIG(kid_status))); \
/third_party/ltp/testcases/kernel/syscalls/signal/
Dsignal01.c128 if (WTERMSIG(res) == SIGKILL) { in do_test()
132 tst_strsig(WTERMSIG(res))); in do_test()

1234567