Home
last modified time | relevance | path

Searched refs:__NR_fcntl (Results 1 – 25 of 49) sorted by relevance

12

/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl_unittest.cc262 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/
Dfcntl.c31 #ifdef __NR_fcntl
33 # define TEST_SYSCALL_NR __NR_fcntl
/external/strace/tests-m32/
Dfcntl.c31 #ifdef __NR_fcntl
33 # define TEST_SYSCALL_NR __NR_fcntl
/external/strace/tests-mx32/
Dfcntl.c31 #ifdef __NR_fcntl
33 # define TEST_SYSCALL_NR __NR_fcntl
/external/valgrind/memcheck/tests/x86-linux/
Dscalar.c270 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/
Darm64_linux_syscalls.h110 #if !defined(__NR_fcntl)
111 #define __NR_fcntl 25 macro
Dx86_64_linux_syscalls.h301 #if !defined(__NR_fcntl)
302 #define __NR_fcntl 72 macro
Dx86_32_linux_syscalls.h233 #if !defined(__NR_fcntl)
234 #define __NR_fcntl 55 macro
Dmips64_linux_syscalls.h296 #if !defined(__NR_fcntl)
297 #define __NR_fcntl (__NR_Linux + 70) macro
Dmips_linux_syscalls.h236 #if !defined(__NR_fcntl)
237 #define __NR_fcntl (__NR_Linux + 55) macro
/external/valgrind/memcheck/tests/darwin/
Dscalar.c867 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/
Dlibsyscalls.gen.c222 #ifdef __NR_fcntl
223 { "fcntl", __NR_fcntl },
/external/valgrind/include/vki/
Dvki-scnums-tilegx-linux.h76 #define __NR_fcntl 25 macro
Dvki-scnums-s390x-linux.h81 #define __NR_fcntl 55 macro
Dvki-scnums-arm64-linux.h480 #define __NR_fcntl __NR3264_fcntl macro
Dvki-scnums-amd64-linux.h118 #define __NR_fcntl 72 macro
Dvki-scnums-ppc64-linux.h92 #define __NR_fcntl 55 macro
Dvki-scnums-arm-linux.h92 #define __NR_fcntl 55 macro
Dvki-scnums-ppc32-linux.h92 #define __NR_fcntl 55 macro
Dvki-scnums-x86-linux.h92 #define __NR_fcntl 55 macro
/external/kernel-headers/original/uapi/asm-x86/asm/
Dunistd_64.h76 #define __NR_fcntl 72 macro
Dunistd_32.h59 #define __NR_fcntl 55 macro
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dbaseline_policy.cc147 if (sysno == __NR_fcntl) in EvaluateSyscallImpl()
/external/kernel-headers/original/uapi/asm-generic/
Dunistd.h815 #define __NR_fcntl 1052 macro
816 __SYSCALL(__NR_fcntl, sys_fcntl)
911 #define __NR_fcntl __NR3264_fcntl macro
/external/strace/
Dscno.h224 #ifndef __NR_fcntl
225 # define __NR_fcntl (SYSCALL_BIT | 72) macro

12