HomeSort by relevance Sort by last modified time
    Searched refs:BPF_ASSERT_EQ (Results 1 - 5 of 5) sorted by null

  /external/libchrome/sandbox/linux/seccomp-bpf-helpers/
baseline_policy_unittest.cc 55 BPF_ASSERT_EQ(0, sys_ret);
64 BPF_ASSERT_EQ(kTestTransferSize, transfered);
67 BPF_ASSERT_EQ(kTestTransferSize, transfered);
68 BPF_ASSERT_EQ(0, memcmp(kTestString, read_buf, kTestTransferSize));
73 BPF_ASSERT_EQ(0, sched_yield());
77 BPF_ASSERT_EQ(0, sys_ret);
86 BPF_ASSERT_EQ(-1, ret);
88 BPF_ASSERT_EQ(EPERM, errno);
97 BPF_ASSERT_EQ(-1, pid);
98 BPF_ASSERT_EQ(EPERM, fork_errno)
    [all...]
syscall_parameters_restrictions_unittests.cc 66 BPF_ASSERT_EQ(0, clock_getres(clockid, &ts));
67 BPF_ASSERT_EQ(0, ts.tv_sec);
71 BPF_ASSERT_EQ(0, clock_gettime(clockid, &ts));
127 BPF_ASSERT_EQ(0, sched_getparam(pid, param));
144 BPF_ASSERT_EQ(zero_param.sched_priority, tid_param.sched_priority);
148 BPF_ASSERT_EQ(-1, sched_getparam(tid, NULL));
149 BPF_ASSERT_EQ(EINVAL, errno);
193 BPF_ASSERT_EQ(0, sys_prlimit64(0, RLIMIT_AS, NULL, NULL));
194 BPF_ASSERT_EQ(0, sys_prlimit64(getpid(), RLIMIT_AS, NULL, NULL));
223 BPF_ASSERT_EQ(0, getrusage(RUSAGE_SELF, &usage))
    [all...]
  /external/libchrome/sandbox/linux/seccomp-bpf/
bpf_tests_unittest.cc 91 BPF_ASSERT_EQ(my_pid_, sys_getpid());
99 BPF_ASSERT_EQ(my_pid_, sys_getpid());
bpf_tests.h 61 #define BPF_ASSERT_EQ(x, y) BPF_ASSERT((x) == (y))
  /external/libchrome/sandbox/linux/bpf_dsl/
bpf_dsl_unittest.cc 300 BPF_ASSERT_EQ(&count_, aux);

Completed in 750 milliseconds