/freebsd/tests/sys/fs/fusefs/ |
H A D | create.cc | 143 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F() 184 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F() 205 EXPECT_EQ(-1, open(FULLPATH, O_CREAT | O_EXCL, mode)); in TEST_F() 254 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F() 288 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F() 319 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F() 343 EXPECT_EQ(-1, open(FULLPATH, O_CREAT | O_EXCL, mode)); in TEST_F() 366 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F() 407 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F() 466 fd = open(FULLPATH, O_CREAT | O_EXCL, mode); in TEST_F() [all …]
|
/freebsd/lib/libc/stdio/ |
H A D | flags.c | 90 o |= O_EXCL; in __sflags() 106 if ((o & O_EXCL) != 0 && m == O_RDONLY) { in __sflags()
|
/freebsd/contrib/netbsd-tests/fs/ffs/ |
H A D | h_quota2_tests.c | 187 fd = rump_sys_open(buf, O_EXCL| O_CREAT | O_RDWR, 0644); in quota_test3() 197 fd = rump_sys_open(buf, O_EXCL| O_CREAT | O_RDWR, 0644); in quota_test3() 263 fd = rump_sys_open(buf, O_EXCL| O_CREAT | O_RDWR, 0644); in quota_test4() 317 O_EXCL| O_CREAT | O_RDWR, 0644); in quota_test5()
|
/freebsd/tools/regression/posixsem2/ |
H A D | semtest.c | 104 s = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in test_named2() 107 s2 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in test_named2()
|
/freebsd/usr.sbin/pwd_mkdb/ |
H A D | pwd_mkdb.c | 210 O_RDWR|O_EXCL, PERM_INSECURE, DB_HASH, &openinfo); in main() 217 O_RDWR|O_EXCL, PERM_SECURE, DB_HASH, &openinfo); in main() 274 O_RDWR|O_CREAT|O_EXCL, PERM_INSECURE, DB_HASH, &openinfo); in main() 280 O_RDWR|O_CREAT|O_EXCL, PERM_SECURE, DB_HASH, &openinfo); in main() 299 O_WRONLY|O_CREAT|O_EXCL, PERM_INSECURE)) < 0) in main() 581 if ((to_fd = open(to, O_WRONLY|O_CREAT|O_EXCL, mode)) < 0) in cp()
|
/freebsd/usr.sbin/extattrctl/ |
H A D | extattrctl.c | 97 flags = O_CREAT | O_WRONLY | O_TRUNC | O_EXCL; in initattr() 102 flags &= ~O_EXCL; in initattr()
|
/freebsd/sys/contrib/zlib/ |
H A D | gzlib.c | 94 #ifdef O_EXCL in gz_open() 141 #ifdef O_EXCL in gz_open() 225 #ifdef O_EXCL in gz_open() 226 (exclusive ? O_EXCL : 0) | in gz_open()
|
/freebsd/contrib/mandoc/ |
H A D | 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()
|
H A D | compat_mkstemps.c | 53 fd = open(path, O_CREAT | O_EXCL | O_RDWR, S_IRUSR | S_IWUSR); in mkstemps()
|
/freebsd/lib/libc/gen/ |
H A D | sem_new.c | 163 if (flags & ~(O_CREAT|O_EXCL)) { in _sem_open() 185 if ((flags & (O_CREAT | O_EXCL)) == (O_CREAT | in _sem_open() 186 O_EXCL) || ni->dev != sb.st_dev || in _sem_open()
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_lockf.c | 133 fd = open (lockfile, O_RDWR|O_CREAT|O_EXCL|O_TRUNC, 0666); in ATF_TC_BODY() 228 fd = open (lockfile, O_RDWR|O_CREAT|O_EXCL|O_TRUNC, 0666); in ATF_TC_BODY()
|
/freebsd/tests/sys/fs/tarfs/ |
H A D | mktar.c | 73 if ((fd = open(filename, O_RDWR|O_CREAT|O_EXCL, mode)) < 0) in mknormalfile() 92 if ((fd = open(filename, O_RDWR|O_CREAT|O_EXCL, mode)) < 0) in mksparsefile()
|
/freebsd/contrib/pjdfstest/tests/open/ |
H A D | 22.t | 16 expect EEXIST open ${n0} O_CREAT,O_EXCL 0644
|
/freebsd/sys/contrib/zstd/zlibWrapper/ |
H A D | gzlib.c | 105 #ifdef O_EXCL 152 #ifdef O_EXCL 236 #ifdef O_EXCL 237 (exclusive ? O_EXCL : 0) |
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | mkstemp.c | 64 fd = open(template, O_RDWR | O_CREAT | O_EXCL, 0600); in mkstemp()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/ |
H A D | tmpfile_003_pos.c | 44 fd = open(penv[0], O_RDWR|O_TMPFILE|O_EXCL, 0666); in main()
|
/freebsd/contrib/ntp/libntp/lib/isc/win32/include/isc/ |
H A D | stat.h | 66 #define O_EXCL _O_EXCL macro
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | mkfiles.c | 52 if ((fd = open(buf, O_CREAT | O_EXCL, O_RDWR)) == -1) { in main()
|
/freebsd/cddl/lib/libdtrace/ |
H A D | io.d | 100 inline int O_EXCL = 0x0800; variable 101 #pragma D binding "1.1" O_EXCL
|
/freebsd/libexec/ypxfr/ |
H A D | yp_dbwrite.c | 68 #define FLAGS O_RDWR|O_EXLOCK|O_EXCL|O_CREAT in yp_open_db_rw()
|
/freebsd/tools/test/stress2/misc/ |
H A D | open.sh | 79 fd = open("broken2", O_CREAT | O_DIRECTORY | O_EXCL, 0600);
|
/freebsd/contrib/sendmail/test/ |
H A D | t_exclopen.c | 90 if (open(Attacker, O_WRONLY|O_CREAT|O_EXCL, 0644) < 0)
|
/freebsd/tests/sys/mqueue/ |
H A D | mqtest1.c | 25 mq = mq_open(MQNAME, O_CREAT | O_RDWR | O_EXCL, 0666, &attr); in main()
|
/freebsd/contrib/ntp/sntp/libopts/compat/ |
H A D | windows-config.h | 103 #define O_EXCL _O_EXCL macro
|
/freebsd/usr.bin/tip/tip/ |
H A D | uucplock.c | 62 fd = open(tbuf, O_RDWR|O_CREAT|O_EXCL, 0660); in uu_lock()
|