Home
last modified time | relevance | path

Searched refs:WIFSIGNALED (Results 1 – 25 of 220) sorted by relevance

123456789

/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/openssh/openbsd-compat/
Dbsd-waitpid.h33 #undef WIFSIGNALED
39 #define WIFSIGNALED(w) (!WIFEXITED(w) && !WIFSTOPPED(w)) macro
41 #define WTERMSIG(w) (int)(WIFSIGNALED(w) ? (_W_INT(w) & 0177) : -1)
/external/ltp/testcases/kernel/containers/pidns/
Dpidns17.c106 if (!(WIFSIGNALED(status) || WTERMSIG(status) == SIGUSR1)) { in child_fn()
118 WIFSIGNALED(status), WTERMSIG(status)); in child_fn()
155 else if (WIFSIGNALED(status)) in main()
Dpidns13.c205 if (WIFSIGNALED(status) && WTERMSIG(status)) in main()
212 if (WIFSIGNALED(status) && WTERMSIG(status)) in main()
Dpidns02.c107 } else if (WIFSIGNALED(status)) { in main()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py1173 def WIFSIGNALED(self, status): member in ChildWatcherTestsMixin
1181 self.assertTrue(self.WIFSIGNALED(status))
1196 patch('os.WIFSIGNALED', self.WIFSIGNALED) as m_WIFSIGNALED, \
1216 self.assertFalse(m.WIFSIGNALED.called)
1225 self.assertFalse(m.WIFSIGNALED.called)
1239 m.WIFSIGNALED.reset_mock()
1252 m.WIFSIGNALED.reset_mock()
1262 self.assertFalse(m.WIFSIGNALED.called)
1279 self.assertFalse(m.WIFSIGNALED.called)
1290 self.assertFalse(m.WIFSIGNALED.called)
[all …]
/external/ltp/testcases/kernel/syscalls/pause/
Dpause03.c74 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGKILL) { in main()
79 if (WIFSIGNALED(status)) { in main()
/external/ltp/testcases/kernel/syscalls/switch/
Dendian_switch01.c46 if (WIFSIGNALED(status)) { in check_le_switch_supported()
74 if (WIFSIGNALED(status)) { in test_le_switch()
/external/ltp/testcases/kernel/syscalls/ptrace/
Dptrace05.c125 if (WIFSIGNALED(status)) { in main()
159 } else if (WIFSIGNALED(status)) { in main()
/external/ltp/testcases/kernel/security/umip/
Dumip_basic_test.c123 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV) { in verify_umip_instruction()
134 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV) { in verify_umip_instruction()
/external/ltp/testcases/kernel/syscalls/request_key/
Drequest_key03.c143 } else if (WIFSIGNALED(status) && WTERMSIG(status) == SIGKILL) { in test_with_key_type()
157 } else if (WIFSIGNALED(status) && WTERMSIG(status) == SIGKILL) { in test_with_key_type()
/external/ltp/testcases/kernel/mem/tunable/
Dmin_free_kbytes.c129 if (!WIFSIGNALED(status) || WTERMSIG(status) != SIGKILL) in test_tune()
150 } else if (!WIFSIGNALED(status) || in test_tune()
/external/ltp/testcases/kernel/syscalls/prctl/
Dprctl04.c100 if (WIFSIGNALED(childstatus) && WTERMSIG(childstatus) == SIGSYS) in check_filter_mode_inherit()
195 if (WIFSIGNALED(status) && WTERMSIG(status) == tc->exp_signal) { in verify_prctl()
/external/igt-gpu-tools/lib/tests/
Digt_tests_common.h46 internal_assert(WIFSIGNALED(wstatus) && in internal_assert_wsignaled()
/external/strace/tests/
Drun_expect_termsig.c57 return !(WIFSIGNALED(status) && WTERMSIG(status) == atoi(av[1])); in main()
/external/strace/tests-m32/
Drun_expect_termsig.c57 return !(WIFSIGNALED(status) && WTERMSIG(status) == atoi(av[1])); in main()
Dpc.c88 assert(WIFSIGNALED(status)); in main()
/external/strace/tests-mx32/
Drun_expect_termsig.c57 return !(WIFSIGNALED(status) && WTERMSIG(status) == atoi(av[1])); in main()
/external/ltp/lib/
Dtst_status.c40 if (WIFSIGNALED(status)) in tst_strstatus()
/external/google-breakpad/src/common/linux/tests/
Dcrash_generator.cc250 if (!WIFSIGNALED(status) || WTERMSIG(status) != crash_signal) { in CreateChildCrash()
253 status, pid, WIFSIGNALED(status) ? "true" : "false", in CreateChildCrash()
/external/ltp/testcases/kernel/syscalls/waitpid/
Dwaitpid01.c41 if (!WIFSIGNALED(status)) { in run()
/external/ltp/testcases/kernel/syscalls/setrlimit/
Dsetrlimit05.c52 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV) { in verify_setrlimit()
/external/linux-kselftest/tools/testing/selftests/safesetid/
Dsafesetid-test.c243 } else if (WIFSIGNALED(wstatus)) { in test_setuid()
255 } while (!WIFEXITED(wstatus) && !WIFSIGNALED(wstatus)); in test_setuid()
/external/ltp/testcases/kernel/crypto/
Daf_alg04.c46 else if (WIFSIGNALED(status) && WTERMSIG(status) == SIGKILL) in run()
/external/ltp/testcases/kernel/syscalls/abort/
Dabort01.c45 if (!WIFSIGNALED(status)) { in verify_abort()

123456789