Searched refs:O_EXCL (Results 1 - 25 of 258) sorted by relevance

1234567891011

/external/syslinux/com32/include/
H A Dfcntl.h19 #define O_EXCL 0200 macro
/external/ltp/testcases/kernel/syscalls/futex/
H A Dfutex_common.h31 fd = shm_open("/LTP_futex_wait", O_RDWR | O_CREAT | O_EXCL, 0);
35 "shm_open(/LTP_futex_wait,O_RDWR|O_CREAT|O_EXCL,775)");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
H A D6-1.c96 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1);
100 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1);
128 sem2 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 3);
H A D7-1.c109 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1);
113 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1);
H A D9-1.c116 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0);
120 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0);
H A D3-1.c140 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0744, 1);
144 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0744, 1);
/external/ltp/testcases/kernel/containers/mqns/
H A Dmqns_helper.h43 mq_open("/checkmqnsenabled", O_RDWR | O_CREAT | O_EXCL, 0777, NULL);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/
H A D2-2.c34 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0777, 1);
H A D4-1.c11 should fail when both O_CREAT and O_EXCL name exist during the opening
39 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0444, 1);
H A D2-1.c12 should fail when both O_CREAT and O_EXCL name exist during the opening
47 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0777, 1);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
H A D22-1.c10 * Test that shm_open() fails if the shared memory object exist and O_EXCL and
35 fd = shm_open(SHM_NAME, O_RDONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
H A D5-1.c39 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
/external/toybox/toys/other/
H A Drmmod.c27 unsigned int flags = O_NONBLOCK|O_EXCL;
/external/libcups/cups/
H A Dtempfile.c122 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW, 0600);
124 fd = open(filename, O_RDWR | O_CREAT | O_EXCL, 0600);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/
H A D3-2.c100 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2);
104 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
H A D16-1.c10 * Test that tests to check if O_CREAT and O_EXCL are set that no other
13 * Test case will just attempt to call mq_open() with O_CREAT and O_EXCL
58 fd = open(fname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR);
88 childqueue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR,
105 queue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR,
H A D15-1.c10 * Test that if O_EXCL and O_CREAT are set and message queue name already
40 * Open queue qname again with O_CREAT and O_EXCL set
42 queue2 = mq_open(qname, O_CREAT | O_EXCL | O_RDWR,
46 printf("O_EXCL on an already opened queue.\n");
H A D23-1.c10 * Test that mq_open() fails with EEXIST if O_CREAT and O_EXCL are set
41 * Open queue qname again with O_CREAT and O_EXCL set
43 queue2 = mq_open(qname, O_CREAT | O_EXCL | O_RDWR,
47 printf("O_EXCL on an already opened queue.\n");
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dfcntl.h18 #define O_EXCL 0x0400 /* not fcntl */ macro
/external/libxml2/win32/wince/
H A Dwincecompat.h26 #define O_EXCL 0x0400 /* open only if file doesn't already exist */ macro
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/
H A D2-2.c50 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D32-1.c35 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR);
/external/valgrind/none/tests/mips32/
H A Dbug320057-mips32.c19 fd = shm_open("/hw_mngr.c", (O_CREAT | O_EXCL | O_RDWR),
/external/kernel-headers/original/uapi/asm-generic/
H A Dfcntl.h25 #ifndef O_EXCL
26 #define O_EXCL 00000200 /* not fcntl */ macro
/external/libchrome/sandbox/linux/syscall_broker/
H A Dbroker_file_permission.cc163 // If O_CREAT is present, ensure O_EXCL
164 if ((flags & O_CREAT) && !(flags & O_EXCL)) {
183 O_DIRECTORY | O_EXCL | O_LARGEFILE | O_NOATIME |

Completed in 386 milliseconds

1234567891011