Home
last modified time | relevance | path

Searched refs:__NR_open (Results 1 – 25 of 48) sorted by relevance

12

/external/strace/tests-mx32/
Dopen.c31 #ifdef __NR_open
42 long fd = syscall(__NR_open, sample, O_RDONLY|O_CREAT, 0400); in main()
51 fd = syscall(__NR_open, sample, O_RDONLY); in main()
54 fd = syscall(__NR_open, sample, O_WRONLY|O_NONBLOCK|0x80000000); in main()
65 fd = syscall(__NR_open, sample, O_WRONLY|O_TMPFILE, 0600); in main()
/external/strace/tests/
Dopen.c31 #ifdef __NR_open
42 long fd = syscall(__NR_open, sample, O_RDONLY|O_CREAT, 0400); in main()
51 fd = syscall(__NR_open, sample, O_RDONLY); in main()
54 fd = syscall(__NR_open, sample, O_WRONLY|O_NONBLOCK|0x80000000); in main()
65 fd = syscall(__NR_open, sample, O_WRONLY|O_TMPFILE, 0600); in main()
/external/strace/tests-m32/
Dopen.c31 #ifdef __NR_open
42 long fd = syscall(__NR_open, sample, O_RDONLY|O_CREAT, 0400); in main()
51 fd = syscall(__NR_open, sample, O_RDONLY); in main()
54 fd = syscall(__NR_open, sample, O_WRONLY|O_NONBLOCK|0x80000000); in main()
65 fd = syscall(__NR_open, sample, O_WRONLY|O_TMPFILE, 0600); in main()
/external/autotest/client/site_tests/security_Minijail_seccomp/src/
Dfail.c14 int fd_z = syscall(__NR_open, "/dev/zero", O_RDONLY); in main()
15 int fd_n = syscall(__NR_open, "/dev/null", O_RDONLY); in main()
Dok.c14 int fd = syscall(__NR_open, "/dev/zero", O_RDONLY); in main()
Dopen.c50 int fd = syscall(__NR_open, path, flags); in main()
/external/openssh/
Dsandbox-seccomp-filter.c134 #ifdef __NR_open
135 SC_DENY(__NR_open, EACCES),
/external/libchrome/sandbox/linux/system_headers/
Dx86_64_linux_syscalls.h21 #if !defined(__NR_open)
22 #define __NR_open 2 macro
Dx86_32_linux_syscalls.h33 #if !defined(__NR_open)
34 #define __NR_open 5 macro
Dmips64_linux_syscalls.h24 #if !defined(__NR_open)
25 #define __NR_open (__NR_Linux + 2) macro
Dmips_linux_syscalls.h36 #if !defined(__NR_open)
37 #define __NR_open (__NR_Linux + 5) macro
Darm_linux_syscalls.h40 #if !defined(__NR_open)
41 #define __NR_open (__NR_SYSCALL_BASE+5) macro
/external/minijail/linux-x86/
Dlibsyscalls.gen.c12 #ifdef __NR_open
13 { "open", __NR_open },
/external/valgrind/memcheck/tests/x86-linux/
Dscalar.c59 GO(__NR_open, "(2-args) 2s 1m"); in main()
60 SY(__NR_open, x0, x0); FAIL; in main()
65 GO(__NR_open, "(3-args) 1s 0m"); in main()
66 SY(__NR_open, "scalar.c", O_CREAT|O_EXCL, x0); FAIL; in main()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dunistd_64.h6 #define __NR_open 2 macro
Dunistd_32.h9 #define __NR_open 5 macro
/external/valgrind/include/vki/
Dvki-scnums-s390x-linux.h48 #define __NR_open 5 macro
Dvki-scnums-amd64-linux.h39 #define __NR_open 2 macro
Dvki-scnums-arm-linux.h42 #define __NR_open 5 macro
Dvki-scnums-ppc64-linux.h42 #define __NR_open 5 macro
Dvki-scnums-ppc32-linux.h42 #define __NR_open 5 macro
Dvki-scnums-x86-linux.h42 #define __NR_open 5 macro
Dvki-scnums-solaris.h318 #define __NR_open SYS_open macro
/external/valgrind/memcheck/tests/darwin/
Dscalar.c37 GO(__NR_open, 5, "(2-args) 2s 1m"); in main()
38 SY(__NR_open, x0, x0); FAIL; in main()
42 GO(__NR_open, 5, "(3-args) 1s 0m"); in main()
43 SY(__NR_open, "scalar.c", O_CREAT|O_EXCL, x0); FAIL; in main()
/external/strace/
Dscno.h14 #ifndef __NR_open
15 # define __NR_open (SYSCALL_BIT | 2) macro

12