/external/libchrome/sandbox/linux/bpf_dsl/ |
D | bpf_dsl_unittest.cc | 262 if (sysno == __NR_fcntl) { in EvaluateSyscall() 277 emulator.ExpectAllow(FakeSyscall(__NR_fcntl, -5, F_DUPFD)); in TEST() 278 emulator.ExpectAllow(FakeSyscall(__NR_fcntl, 20, F_DUPFD)); in TEST() 279 emulator.ExpectErrno(EPERM, FakeSyscall(__NR_fcntl, -314, F_DUPFD)); in TEST() 398 if (sysno == __NR_fcntl) { in EvaluateSyscall() 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() [all …]
|
/external/strace/tests/ |
D | fcntl.c | 31 #ifdef __NR_fcntl 33 # define TEST_SYSCALL_NR __NR_fcntl
|
/external/strace/tests-m32/ |
D | fcntl.c | 31 #ifdef __NR_fcntl 33 # define TEST_SYSCALL_NR __NR_fcntl
|
/external/strace/tests-mx32/ |
D | fcntl.c | 31 #ifdef __NR_fcntl 33 # define TEST_SYSCALL_NR __NR_fcntl
|
/external/valgrind/memcheck/tests/x86-linux/ |
D | scalar.c | 270 GO(__NR_fcntl, "(GETFD) 2s 0m"); in main() 271 SY(__NR_fcntl, x0-1, x0+F_GETFD, x0); FAILx(EBADF); in main() 276 GO(__NR_fcntl, "(DUPFD) 1s 0m"); in main() 277 SY(__NR_fcntl, -1, F_DUPFD, x0); FAILx(EBADF); in main() 282 GO(__NR_fcntl, "(GETLK) 1s 0m"); in main() 283 SY(__NR_fcntl, -1, F_GETLK, x0); FAIL; //FAILx(EBADF); in main()
|
/external/libchrome/sandbox/linux/system_headers/ |
D | arm64_linux_syscalls.h | 110 #if !defined(__NR_fcntl) 111 #define __NR_fcntl 25 macro
|
D | x86_64_linux_syscalls.h | 301 #if !defined(__NR_fcntl) 302 #define __NR_fcntl 72 macro
|
D | x86_32_linux_syscalls.h | 233 #if !defined(__NR_fcntl) 234 #define __NR_fcntl 55 macro
|
D | mips64_linux_syscalls.h | 296 #if !defined(__NR_fcntl) 297 #define __NR_fcntl (__NR_Linux + 70) macro
|
D | mips_linux_syscalls.h | 236 #if !defined(__NR_fcntl) 237 #define __NR_fcntl (__NR_Linux + 55) macro
|
/external/valgrind/memcheck/tests/darwin/ |
D | scalar.c | 867 GO(__NR_fcntl, "(GETFD) 2s 0m"); in main() 868 SY(__NR_fcntl, x0-1, x0+F_GETFD, x0); FAILx(EBADF); in main() 873 GO(__NR_fcntl, "(DUPFD) 1s 0m"); in main() 874 SY(__NR_fcntl, -1, F_DUPFD, x0); FAILx(EBADF); in main() 879 GO(__NR_fcntl, "(GETLK) 1s 0m"); in main() 880 SY(__NR_fcntl, -1, F_GETLK, x0); FAIL; //FAILx(EBADF); in main()
|
/external/minijail/linux-x86/ |
D | libsyscalls.gen.c | 222 #ifdef __NR_fcntl 223 { "fcntl", __NR_fcntl },
|
/external/valgrind/include/vki/ |
D | vki-scnums-tilegx-linux.h | 76 #define __NR_fcntl 25 macro
|
D | vki-scnums-s390x-linux.h | 81 #define __NR_fcntl 55 macro
|
D | vki-scnums-arm64-linux.h | 480 #define __NR_fcntl __NR3264_fcntl macro
|
D | vki-scnums-amd64-linux.h | 118 #define __NR_fcntl 72 macro
|
D | vki-scnums-ppc64-linux.h | 92 #define __NR_fcntl 55 macro
|
D | vki-scnums-arm-linux.h | 92 #define __NR_fcntl 55 macro
|
D | vki-scnums-ppc32-linux.h | 92 #define __NR_fcntl 55 macro
|
D | vki-scnums-x86-linux.h | 92 #define __NR_fcntl 55 macro
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | unistd_64.h | 76 #define __NR_fcntl 72 macro
|
D | unistd_32.h | 59 #define __NR_fcntl 55 macro
|
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
D | baseline_policy.cc | 147 if (sysno == __NR_fcntl) in EvaluateSyscallImpl()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | unistd.h | 815 #define __NR_fcntl 1052 macro 816 __SYSCALL(__NR_fcntl, sys_fcntl) 911 #define __NR_fcntl __NR3264_fcntl macro
|
/external/strace/ |
D | scno.h | 224 #ifndef __NR_fcntl 225 # define __NR_fcntl (SYSCALL_BIT | 72) macro
|