Home
last modified time | relevance | path

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

123

/dragonfly/usr.sbin/pwd_mkdb/
HDpwd_mkdb.c212 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/
HDgzlib.c102 #ifdef O_EXCL
149 #ifdef O_EXCL
233 #ifdef O_EXCL
234 (exclusive ? O_EXCL : 0) |
/dragonfly/lib/libthread_xu/thread/
HDthr_sem.c532 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/
HDterm_tag.c100 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/
HDconf.h269 #ifndef O_EXCL
270 #define O_EXCL 0 macro
/dragonfly/test/testcases/posixipc/create_excl_existing_sem/
HDcreate_excl_existing_sem.c15 retval = sem_open_should_fail(TEST_PATH, O_CREAT | O_EXCL, 0777, 1, EEXIST); in main()
/dragonfly/test/testcases/posixipc/use_after_unlink/
HDuse_after_unlink.c11 id = sem_open(TEST_PATH, O_CREAT | O_EXCL, 0777, 1); in main()
/dragonfly/lib/libc/stdio/
HDflags.c112 o |= O_EXCL; in __sflags()
HDmktemp.c168 if ((*doopen = _open(path, O_CREAT|O_EXCL|O_RDWR|oflags, in _gettemp()
/dragonfly/usr.bin/uudecode/
HDuudecode.c254 flags = O_WRONLY | O_CREAT | O_EXCL; in decode2()
274 flags &= ~O_EXCL; in decode2()
/dragonfly/sys/vfs/procfs/
HDprocfs_vnops.c186 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/
HDyp_dbwrite.c67 #define FLAGS O_RDWR|O_EXLOCK|O_EXCL|O_CREAT in yp_open_db_rw()
/dragonfly/contrib/tcsh-6/
HDtc.os.h366 #ifndef O_EXCL
367 # define O_EXCL 0 macro
HDdotlock.c79 fd = open(path, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL|O_SYNC, 0); in create_exclusive()
/dragonfly/lib/libc/db/db/
HDdb.c56 (O_CREAT | O_EXCL | O_EXLOCK | O_NOFOLLOW | O_NONBLOCK | \ in dbopen()
/dragonfly/test/libpthread/
HDsem_d.c91 assert(SEM_FAILED == sem_open("/foo", O_CREAT | O_EXCL, 0644, 0)); in main()
/dragonfly/sys/kern/
HDvfs_vnops.c139 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/
HDcpdir.c93 …} 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/
HDktrace.c137 if ((fd = open(tracefile, O_CREAT | O_EXCL | O_WRONLY, in main()
/dragonfly/test/lockf/
HDlockf.c142 fd = open (lockfile, O_RDWR|O_CREAT|O_EXCL|O_TRUNC, 0666); in main()
/dragonfly/sys/sys/
HDfcntl.h85 #define O_EXCL 0x0800 /* error if already exists */ macro
/dragonfly/contrib/libarchive/libarchive/
HDarchive_util.c437 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/
HDshlock.c127 while ((fd = open(tmpf, O_RDWR | O_CREAT | O_EXCL, 0644)) == -1){ in create_lock()
/dragonfly/contrib/lvm2/dist/lib/misc/
HDlvm-file.c63 *fd = open(buffer, O_CREAT | O_EXCL | O_WRONLY | O_APPEND, in create_temp_name()
/dragonfly/test/stress/stress2/misc/
HDfragments.sh223 if ((fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0600)) < 0) {

123