Searched refs:__NR_fcntl (Results 1 - 25 of 44) sorted by relevance

12

/external/strace/tests/
H A Dfcntl.c34 #ifdef __NR_fcntl
/external/libchrome/sandbox/linux/bpf_dsl/
H A Dbpf_dsl_unittest.cc262 if (sysno == __NR_fcntl) {
277 emulator.ExpectAllow(FakeSyscall(__NR_fcntl, -5, F_DUPFD));
278 emulator.ExpectAllow(FakeSyscall(__NR_fcntl, 20, F_DUPFD));
279 emulator.ExpectErrno(EPERM, FakeSyscall(__NR_fcntl, -314, F_DUPFD));
398 if (sysno == __NR_fcntl) {
419 emulator.ExpectErrno(ENOENT, FakeSyscall(__NR_fcntl, kFakeSockFD, F_GETFD));
420 emulator.ExpectErrno(ENOENT, FakeSyscall(__NR_fcntl, kFakeSockFD, F_GETFL));
423 FakeSyscall(__NR_fcntl, kFakeSockFD, F_SETFD, O_CLOEXEC));
425 FakeSyscall(__NR_fcntl, kFakeSockFD, F_SETFD, 0));
428 FakeSyscall(__NR_fcntl, kFakeSockF
[all...]
/external/valgrind/include/vki/
H A Dvki-scnums-amd64-linux.h118 #define __NR_fcntl 72 macro
H A Dvki-scnums-arm64-linux.h390 //#define __NR_fcntl 1052
480 #define __NR_fcntl __NR3264_fcntl macro
H A Dvki-scnums-s390x-linux.h81 #define __NR_fcntl 55 macro
H A Dvki-scnums-tilegx-linux.h76 #define __NR_fcntl 25 macro
H A Dvki-scnums-arm-linux.h92 #define __NR_fcntl 55 macro
H A Dvki-scnums-ppc32-linux.h92 #define __NR_fcntl 55 macro
H A Dvki-scnums-ppc64-linux.h92 #define __NR_fcntl 55 macro
H A Dvki-scnums-solaris.h119 #define __NR_fcntl SYS_fcntl macro
H A Dvki-scnums-x86-linux.h92 #define __NR_fcntl 55 macro
H A Dvki-scnums-mips64-linux.h109 #define __NR_fcntl (__NR_Linux + 70) macro
/external/libchrome/sandbox/linux/system_headers/
H A Darm64_linux_syscalls.h110 #if !defined(__NR_fcntl)
111 #define __NR_fcntl 25 macro
H A Dx86_64_linux_syscalls.h301 #if !defined(__NR_fcntl)
302 #define __NR_fcntl 72 macro
H A Dx86_32_linux_syscalls.h233 #if !defined(__NR_fcntl)
234 #define __NR_fcntl 55 macro
H A Darm_linux_syscalls.h180 #if !defined(__NR_fcntl)
181 #define __NR_fcntl (__NR_SYSCALL_BASE+55) macro
H A Dmips64_linux_syscalls.h296 #if !defined(__NR_fcntl)
297 #define __NR_fcntl (__NR_Linux + 70) macro
H A Dmips_linux_syscalls.h236 #if !defined(__NR_fcntl)
237 #define __NR_fcntl (__NR_Linux + 55) macro
/external/valgrind/memcheck/tests/x86-linux/
H A Dscalar.c267 // __NR_fcntl 55
270 GO(__NR_fcntl, "(GETFD) 2s 0m");
271 SY(__NR_fcntl, x0-1, x0+F_GETFD, x0); FAILx(EBADF);
276 GO(__NR_fcntl, "(DUPFD) 1s 0m");
277 SY(__NR_fcntl, -1, F_DUPFD, x0); FAILx(EBADF);
282 GO(__NR_fcntl, "(GETLK) 1s 0m");
283 SY(__NR_fcntl, -1, F_GETLK, x0); FAIL; //FAILx(EBADF);
/external/valgrind/memcheck/tests/darwin/
H A Dscalar.c190 // __NR_fcntl 92
864 // __NR_fcntl 55
867 GO(__NR_fcntl, "(GETFD) 2s 0m");
868 SY(__NR_fcntl, x0-1, x0+F_GETFD, x0); FAILx(EBADF);
873 GO(__NR_fcntl, "(DUPFD) 1s 0m");
874 SY(__NR_fcntl, -1, F_DUPFD, x0); FAILx(EBADF);
879 GO(__NR_fcntl, "(GETLK) 1s 0m");
880 SY(__NR_fcntl, -1, F_GETLK, x0); FAIL; //FAILx(EBADF);
/external/kernel-headers/original/uapi/asm-x86/asm/
H A Dunistd_32.h59 #define __NR_fcntl 55 macro
H A Dunistd_64.h76 #define __NR_fcntl 72 macro
H A Dunistd_x32.h65 #define __NR_fcntl (__X32_SYSCALL_BIT + 72) macro
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
H A Dbaseline_policy.cc147 if (sysno == __NR_fcntl)
/external/kernel-headers/original/uapi/asm-generic/
H A Dunistd.h800 #define __NR_fcntl 1052 macro
801 __SYSCALL(__NR_fcntl, sys_fcntl)
896 #define __NR_fcntl __NR3264_fcntl macro

Completed in 269 milliseconds

12