Home
last modified time | relevance | path

Searched refs:O_EXCL (Results 1 – 25 of 264) sorted by relevance

1234567891011

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
D6-1.c96 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main()
100 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main()
128 sem2 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 3); in main()
D7-1.c109 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main()
113 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main()
D9-1.c116 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
120 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
D3-1.c140 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0744, 1); in main()
144 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0744, 1); in main()
D2-2.c140 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
144 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
D16-1.c58 fd = open(fname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main()
88 childqueue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR, in main()
105 queue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR, in main()
/external/ltp/testcases/kernel/syscalls/open/
Dopen10.c224 ret = open(nosetgid_A, O_CREAT | O_EXCL | O_RDWR, MODE_RWX); in main()
253 ret = open(setgid_A, O_CREAT | O_EXCL | O_RDWR, MODE_SGID); in main()
299 ret = open(nosetgid_B, O_CREAT | O_EXCL | O_RDWR, MODE_RWX); in main()
329 ret = open(setgid_B, O_CREAT | O_EXCL | O_RDWR, MODE_SGID); in main()
380 ret = open(root_setgid_B, O_CREAT | O_EXCL | O_RDWR, MODE_SGID); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/
D3-2.c100 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2); in main()
104 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2); in main()
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_file_permission_unittest.cc141 case O_EXCL: in CheckPerm()
164 ASSERT_TRUE(perm.CheckOpen(path, O_CREAT | O_EXCL | access_flags, in CheckPerm()
168 ASSERT_FALSE(perm.CheckOpen(path, O_CREAT | O_EXCL | access_flags, in CheckPerm()
221 perm.CheckOpen(path, access_flags | O_CREAT | O_EXCL, NULL, &unlink)); in CheckUnlink()
Dbroker_file_permission.cc164 if ((flags & O_CREAT) && !(flags & O_EXCL)) { in CheckOpen()
183 O_DIRECTORY | O_EXCL | O_LARGEFILE | O_NOATIME | in CheckOpen()
/external/libcups/cups/
Dtempfile.c122 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW, 0600); in cupsTempFd()
124 fd = open(filename, O_RDWR | O_CREAT | O_EXCL, 0600); in cupsTempFd()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h25 #ifndef O_EXCL
26 #define O_EXCL 00000200 /* not fcntl */ macro
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
D3-1.c69 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main()
70 fd2 = open(tmpfname2, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main()
/external/strace/xlat/
Dopen_mode_flags.h13 #if defined(O_EXCL) || (defined(HAVE_DECL_O_EXCL) && HAVE_DECL_O_EXCL)
14 XLAT(O_EXCL),
Dopenmodessol.in8 { 0x400, "O_EXCL" },
/external/protobuf/src/google/protobuf/testing/
Dgoogletest.cc171 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStdout()
186 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStderr()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/
D8-1.c127 sem = sem_open(semname, O_CREAT | O_EXCL, 0777, 1); in main()
135 sem_1 = sem_open(semname_1, O_CREAT | O_EXCL, 0777, 3); in main()
/external/pdfium/third_party/zlib_v128/
Dgzlib.c102 #ifdef O_EXCL in gz_open()
149 #ifdef O_EXCL in gz_open()
233 #ifdef O_EXCL in gz_open()
234 (exclusive ? O_EXCL : 0) | in gz_open()
/external/syslinux/com32/include/
Dfcntl.h19 #define O_EXCL 0200 macro
/external/zlib/src/
Dgzlib.c102 #ifdef O_EXCL
149 #ifdef O_EXCL
233 #ifdef O_EXCL
234 (exclusive ? O_EXCL : 0) |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/
D4-1.c39 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0444, 1); in main()
D2-2.c34 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0777, 1); in main()
/external/ltp/testcases/kernel/syscalls/futex/
Dfutex_common.h31 fd = shm_open("/LTP_futex_wait", O_RDWR | O_CREAT | O_EXCL, 0); in setup()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
D5-1.c39 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D22-1.c35 fd = shm_open(SHM_NAME, O_RDONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in main()

1234567891011