Home
last modified time | relevance | path

Searched refs:expect_errno (Results 1 – 1 of 1) sorted by relevance

/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl_unittest.cc344 const int expect_errno = (uid & 0xf) == 0 ? EINVAL : EACCES; in TEST() local
345 emulator.ExpectErrno(expect_errno, FakeSyscall(__NR_setuid, uid)); in TEST()
349 const int expect_errno = (gid & 0xf0) == 0xf0 ? EINVAL : EACCES; in TEST() local
350 emulator.ExpectErrno(expect_errno, FakeSyscall(__NR_setgid, gid)); in TEST()
354 const int expect_errno = (pid & 0xa5) == 0xa0 ? EINVAL : EACCES; in TEST() local
355 emulator.ExpectErrno(expect_errno, FakeSyscall(__NR_setpgid, pid, 0)); in TEST()