Home
last modified time | relevance | path

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

/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl_unittest.cc417 const int kFakeSockFD = 42; in TEST() local
419 emulator.ExpectErrno(ENOENT, FakeSyscall(__NR_fcntl, kFakeSockFD, F_GETFD)); in TEST()
420 emulator.ExpectErrno(ENOENT, FakeSyscall(__NR_fcntl, kFakeSockFD, F_GETFL)); in TEST()
423 FakeSyscall(__NR_fcntl, kFakeSockFD, F_SETFD, O_CLOEXEC)); in TEST()
425 FakeSyscall(__NR_fcntl, kFakeSockFD, F_SETFD, 0)); in TEST()
428 FakeSyscall(__NR_fcntl, kFakeSockFD, F_SETFL, O_RDONLY)); in TEST()
431 FakeSyscall(__NR_fcntl, kFakeSockFD, F_DUPFD, 0)); in TEST()