| /dragonfly/usr.sbin/pwd_mkdb/ |
| HD | pwd_mkdb.c | 212 O_RDWR|O_EXCL, PERM_INSECURE, DB_HASH, &openinfo); in main() 219 O_RDWR|O_EXCL, PERM_SECURE, DB_HASH, &openinfo); in main() 276 O_RDWR|O_CREAT|O_EXCL, PERM_INSECURE, DB_HASH, &openinfo); in main() 282 O_RDWR|O_CREAT|O_EXCL, PERM_SECURE, DB_HASH, &openinfo); in main() 301 O_WRONLY|O_CREAT|O_EXCL, PERM_INSECURE)) < 0) in main() 676 if ((to_fd = open(to, O_WRONLY|O_CREAT|O_EXCL, mode)) < 0) in cp()
|
| /dragonfly/contrib/zlib-1.2/ |
| HD | gzlib.c | 102 #ifdef O_EXCL 149 #ifdef O_EXCL 233 #ifdef O_EXCL 234 (exclusive ? O_EXCL : 0) |
|
| /dragonfly/lib/libthread_xu/thread/ |
| HD | thr_sem.c | 532 if (oflag & ~(O_CREAT|O_EXCL)) { in _sem_open() 558 if ((oflag & O_EXCL) == O_EXCL) { in _sem_open() 674 if (errno == EEXIST && (oflag & O_EXCL) == 0) { in _sem_open()
|
| /dragonfly/contrib/mdocml/ |
| HD | term_tag.c | 100 ofd = open(outfilename, O_WRONLY | O_CREAT | O_EXCL, 0644); in term_tag_init() 119 tfd = open(tagfilename, O_WRONLY | O_CREAT | O_EXCL, 0644); in term_tag_init()
|
| /dragonfly/gnu/usr.bin/rcs/lib/ |
| HD | conf.h | 269 #ifndef O_EXCL 270 #define O_EXCL 0 macro
|
| /dragonfly/test/testcases/posixipc/create_excl_existing_sem/ |
| HD | create_excl_existing_sem.c | 15 retval = sem_open_should_fail(TEST_PATH, O_CREAT | O_EXCL, 0777, 1, EEXIST); in main()
|
| /dragonfly/test/testcases/posixipc/use_after_unlink/ |
| HD | use_after_unlink.c | 11 id = sem_open(TEST_PATH, O_CREAT | O_EXCL, 0777, 1); in main()
|
| /dragonfly/lib/libc/stdio/ |
| HD | flags.c | 112 o |= O_EXCL; in __sflags()
|
| HD | mktemp.c | 168 if ((*doopen = _open(path, O_CREAT|O_EXCL|O_RDWR|oflags, in _gettemp()
|
| /dragonfly/usr.bin/uudecode/ |
| HD | uudecode.c | 254 flags = O_WRONLY | O_CREAT | O_EXCL; in decode2() 274 flags &= ~O_EXCL; in decode2()
|
| /dragonfly/sys/vfs/procfs/ |
| HD | procfs_vnops.c | 186 if (((pfs->pfs_flags & FWRITE) && (ap->a_mode & O_EXCL)) || in procfs_open() 187 ((pfs->pfs_flags & O_EXCL) && (ap->a_mode & FWRITE))) { in procfs_open() 205 pfs->pfs_flags = ap->a_mode & (FWRITE|O_EXCL); in procfs_open() 240 if ((ap->a_fflag & FWRITE) && (pfs->pfs_flags & O_EXCL)) in procfs_close() 241 pfs->pfs_flags &= ~(FWRITE|O_EXCL); in procfs_close()
|
| /dragonfly/libexec/ypxfr/ |
| HD | yp_dbwrite.c | 67 #define FLAGS O_RDWR|O_EXLOCK|O_EXCL|O_CREAT in yp_open_db_rw()
|
| /dragonfly/contrib/tcsh-6/ |
| HD | tc.os.h | 366 #ifndef O_EXCL 367 # define O_EXCL 0 macro
|
| HD | dotlock.c | 79 fd = open(path, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL|O_SYNC, 0); in create_exclusive()
|
| /dragonfly/lib/libc/db/db/ |
| HD | db.c | 56 (O_CREAT | O_EXCL | O_EXLOCK | O_NOFOLLOW | O_NONBLOCK | \ in dbopen()
|
| /dragonfly/test/libpthread/ |
| HD | sem_d.c | 91 assert(SEM_FAILED == sem_open("/foo", O_CREAT | O_EXCL, 0644, 0)); in main()
|
| /dragonfly/sys/kern/ |
| HD | vfs_vnops.c | 139 if ((fmode & O_EXCL) == 0 && (fmode & O_NOFOLLOW) == 0) in vn_open() 162 (fmode & O_EXCL) && !nd->nl_dir_error) in vn_open() 210 if (fmode & O_EXCL) in vn_open() 219 if (fmode & O_EXCL) { in vn_open()
|
| /dragonfly/usr.sbin/pw/ |
| HD | cpdir.c | 93 …} else if (S_ISREG(st.st_mode) && (outfd = open(dst, O_RDWR | O_CREAT | O_EXCL, st.st_mode)) != -1… in copymkdir()
|
| /dragonfly/usr.bin/ktrace/ |
| HD | ktrace.c | 137 if ((fd = open(tracefile, O_CREAT | O_EXCL | O_WRONLY, in main()
|
| /dragonfly/test/lockf/ |
| HD | lockf.c | 142 fd = open (lockfile, O_RDWR|O_CREAT|O_EXCL|O_TRUNC, 0666); in main()
|
| /dragonfly/sys/sys/ |
| HD | fcntl.h | 85 #define O_EXCL 0x0800 /* error if already exists */ macro
|
| /dragonfly/contrib/libarchive/libarchive/ |
| HD | archive_util.c | 437 fd = open(temp_name.s, O_RDWR|O_CLOEXEC|O_TMPFILE|O_EXCL, 0600); in __archive_mktemp() 528 fd = open(template, O_CREAT | O_EXCL | O_RDWR | O_CLOEXEC, in __archive_mktempx()
|
| /dragonfly/usr.bin/shlock/ |
| HD | shlock.c | 127 while ((fd = open(tmpf, O_RDWR | O_CREAT | O_EXCL, 0644)) == -1){ in create_lock()
|
| /dragonfly/contrib/lvm2/dist/lib/misc/ |
| HD | lvm-file.c | 63 *fd = open(buffer, O_CREAT | O_EXCL | O_WRONLY | O_APPEND, in create_temp_name()
|
| /dragonfly/test/stress/stress2/misc/ |
| HD | fragments.sh | 223 if ((fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0600)) < 0) {
|