/external/syslinux/com32/include/ |
H A D | fcntl.h | 19 #define O_EXCL 0200 macro
|
/external/ltp/testcases/kernel/syscalls/futex/ |
H A D | futex_common.h | 31 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 D | 6-1.c | 96 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 D | 7-1.c | 109 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 D | 9-1.c | 116 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 D | 3-1.c | 140 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 D | mqns_helper.h | 43 mq_open("/checkmqnsenabled", O_RDWR | O_CREAT | O_EXCL, 0777, NULL);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/ |
H A D | 2-2.c | 34 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0777, 1);
|
H A D | 4-1.c | 11 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 D | 2-1.c | 12 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 D | 22-1.c | 10 * 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 D | 5-1.c | 39 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
|
/external/toybox/toys/other/ |
H A D | rmmod.c | 27 unsigned int flags = O_NONBLOCK|O_EXCL;
|
/external/libcups/cups/ |
H A D | tempfile.c | 122 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 D | 3-2.c | 100 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 D | 16-1.c | 10 * 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 D | 15-1.c | 10 * 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 D | 23-1.c | 10 * 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 D | fcntl.h | 18 #define O_EXCL 0x0400 /* not fcntl */ macro
|
/external/libxml2/win32/wince/ |
H A D | wincecompat.h | 26 #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 D | 2-2.c | 50 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
H A D | 32-1.c | 35 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR);
|
/external/valgrind/none/tests/mips32/ |
H A D | bug320057-mips32.c | 19 fd = shm_open("/hw_mngr.c", (O_CREAT | O_EXCL | O_RDWR),
|
/external/kernel-headers/original/uapi/asm-generic/ |
H A D | fcntl.h | 25 #ifndef O_EXCL 26 #define O_EXCL 00000200 /* not fcntl */ macro
|
/external/libchrome/sandbox/linux/syscall_broker/ |
H A D | broker_file_permission.cc | 163 // 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 |
|