Searched refs:sys_ret (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
D | baseline_policy_unittest.cc | 54 int sys_ret = fstat(read_end.get(), &stat_buf); in TestPipeOrSocketPair() local 55 BPF_ASSERT_EQ(0, sys_ret); in TestPipeOrSocketPair() 76 int sys_ret = pipe(pipefd); in BPF_TEST_C() local 77 BPF_ASSERT_EQ(0, sys_ret); in BPF_TEST_C() 156 int sys_ret = kill(getpid(), 0); in BPF_TEST_C() local 157 BPF_ASSERT_EQ(0, sys_ret); in BPF_TEST_C() 162 int sys_ret = socketpair(AF_UNIX, SOCK_DGRAM, 0, sv); in BPF_TEST_C() local 163 BPF_ASSERT_EQ(0, sys_ret); in BPF_TEST_C() 166 sys_ret = socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sv); in BPF_TEST_C() 167 BPF_ASSERT_EQ(0, sys_ret); in BPF_TEST_C() [all …]
|
/external/ltp/testcases/kernel/syscalls/ppoll/ |
D | ppoll01.c | 212 int sys_ret, sys_errno = 0, dummy; in do_test() local 235 sys_ret = tst_syscall(__NR_ppoll, tc->fds, tc->nfds, tsp, in do_test() 257 if (tc->ret >= 0 && tc->ret == sys_ret) { in do_test() 258 tst_res(TPASS, "ret: %d", sys_ret); in do_test() 259 } else if (tc->ret == -1 && sys_ret == -1 && sys_errno == tc->err) { in do_test() 260 tst_res(TPASS, "ret: %d, errno: %s (%d)", sys_ret, in do_test() 264 " exp_errno: %s (%d)", sys_ret, tc->ret, in do_test()
|
/external/ltp/testcases/kernel/syscalls/mq_timedsend/ |
D | mq_timedsend01.c | 299 int sys_ret; in do_test() local 387 TEST(sys_ret = mq_timedsend(fd, smsg, tc->len, tc->prio, &ts)); in do_test() 389 if (sys_ret < 0) in do_test() 418 PRINT_RESULT_CMP(sys_ret >= 0, tc->ret, tc->err, sys_ret, sys_errno, in do_test()
|