Searched refs:expect_errno (Results 1 – 1 of 1) sorted by relevance
344 const int expect_errno = (uid & 0xf) == 0 ? EINVAL : EACCES; in TEST() local345 emulator.ExpectErrno(expect_errno, FakeSyscall(__NR_setuid, uid)); in TEST()349 const int expect_errno = (gid & 0xf0) == 0xf0 ? EINVAL : EACCES; in TEST() local350 emulator.ExpectErrno(expect_errno, FakeSyscall(__NR_setgid, gid)); in TEST()354 const int expect_errno = (pid & 0xa5) == 0xa0 ? EINVAL : EACCES; in TEST() local355 emulator.ExpectErrno(expect_errno, FakeSyscall(__NR_setpgid, pid, 0)); in TEST()