/titanic_41/usr/src/lib/libast/common/comp/ |
H A D | open.c | 63 op &= ~O_EXCL; 68 if ((op & O_EXCL) && !access(path, F_OK)) 73 if ((fd = creat(path, (op & O_EXCL) ? 0 : mode)) < 0) 75 if (op & O_EXCL)
|
/titanic_41/usr/src/lib/libast/common/features/ |
H A D | fcntl.c | 233 #ifndef O_EXCL in main() 236 if (O_EXCL > o_local) o_local = O_EXCL; in main() 285 #ifndef O_EXCL in main()
|
/titanic_41/usr/src/lib/libast/common/sfio/ |
H A D | _sfopen.c | 103 { if((oflags&(O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) ) 189 oflags |= O_EXCL; 204 oflags &= ~O_EXCL;
|
/titanic_41/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | fcntl.c | 61 #define FLAGS_MASK (O_SYNC|O_NONBLOCK|O_CREAT|O_TRUNC|O_EXCL \ 124 if (arg & O_EXCL) 166 narg |= O_EXCL;
|
/titanic_41/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | fcntl.c | 62 #define FLAGS_MASK (O_SYNC|O_NONBLOCK|O_CREAT|O_TRUNC|O_EXCL \ 127 if (arg & O_EXCL) 171 narg |= O_EXCL;
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | mkstemp.c | 96 if ((fd = open64(as, O_CREAT|O_EXCL|O_RDWR|flags, in libc_mkstemps() 101 if ((fd = open(as, O_CREAT|O_EXCL|O_RDWR|flags, in libc_mkstemps()
|
/titanic_41/usr/src/lib/libshell/common/sh/ |
H A D | suid_exec.c | 380 #ifdef O_EXCL in setids() 381 if((n = open(tmpname, O_WRONLY | O_CREAT | O_EXCL, SPECIAL)) < 0 || in setids() 428 #ifdef O_EXCL in setids() 429 if((n = open(tmpname,O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, mode)) < 0) in setids()
|
/titanic_41/usr/src/lib/libc/port/rt/ |
H A D | pos4obj.c | 325 if ((fd = __open_nc(dfile, (oflag | O_EXCL), mode)) == -1) { in __pos4obj_open() 326 if (errno == EEXIST && !(oflag & O_EXCL)) { in __pos4obj_open() 379 if ((fd = __open_nc(dfile, O_RDWR | O_CREAT | O_EXCL, 0666)) in __pos4obj_lock()
|
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | mkstemp.c | 29 while ((fd = open(as, O_CREAT|O_EXCL|O_RDWR, 0600)) == -1) { in mkstemp()
|
/titanic_41/usr/src/lib/libuutil/common/ |
H A D | uu_open.c | 58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600); in uu_open_tmp()
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | adb_openclose.c | 65 db = dbopen(filename, O_RDWR | O_CREAT | O_EXCL, 0600, DB_BTREE, &btinfo); in osa_adb_create_db() 72 lf = THREEPARAMOPEN(lockfilename, O_RDWR | O_CREAT | O_EXCL, 0600); in osa_adb_create_db() 380 fd = THREEPARAMOPEN(db->lock->filename,O_RDWR | O_CREAT | O_EXCL, in osa_adb_release_lock()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | krbfileio.c | 22 open_flag = O_CREAT|O_EXCL|O_TRUNC|O_RDWR; in krb5_create_secure_file()
|
/titanic_41/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | reqexec.c | 272 if ((fd = open(resppath, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0644)) < 0) { in reqexec() 310 fd = open(resppath, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0644); in chkexec()
|
/titanic_41/usr/src/cmd/svr4pkg/libinst/ |
H A D | ocfile.c | 172 n = open(tmpcf, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0644); in set_cfdir() 568 lock_fd = open(lockpath, O_RDWR|O_CREAT|O_TRUNC|O_EXCL, 0644); in pkgWlock() 682 fd = open(contents, O_WRONLY | O_CREAT | O_EXCL, 0644); in vcfile()
|
/titanic_41/usr/src/lib/libresolv2/common/bsd/ |
H A D | mktemp.c | 128 open(path, O_CREAT|O_EXCL|O_RDWR, 0600)) >= 0) in gettemp()
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/db/ |
H A D | db.c | 59 (O_CREAT | O_EXCL | O_EXLOCK | O_NONBLOCK | O_RDONLY | \
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/ |
H A D | wanboot-cgi.c | 278 (wfd = open(dest, O_CREAT|O_EXCL|O_RDWR, S_IRUSR|S_IWUSR)) < 0 || in copy_file() 330 O_WRONLY|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR)) == -1 || in create_nonce() 349 O_WRONLY|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR)) == -1 || in create_timestamp() 368 O_WRONLY|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR)) == -1 || in create_urandom() 388 O_WRONLY|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR)) == -1 || in create_null_hash() 848 O_CREAT|O_EXCL|O_RDWR, 0700)) < 0) { in build_trustfile() 1199 O_RDWR|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR)) == -1 || in create_hostsfile() 1572 O_RDWR|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR)) == -1 || in miniroot_payload()
|
/titanic_41/usr/src/lib/libc/port/stdio/ |
H A D | _endopen.c | 109 oflag |= O_EXCL; in _endopen()
|
/titanic_41/usr/src/cmd/mail/ |
H A D | createmf.c | 76 O_APPEND|O_CREAT|O_EXCL|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP);
|
/titanic_41/usr/src/cmd/print/conv_fix/ |
H A D | conv_fix.c | 124 fd = open(ofile, O_RDWR|O_CREAT|O_EXCL, 0644); in main()
|
/titanic_41/usr/src/lib/libbc/inc/include/sys/ |
H A D | fcntlcom.h | 74 #define O_EXCL _FEXCL macro
|
/titanic_41/usr/src/lib/libmail/common/ |
H A D | maillock.c | 133 fd = open(tempfile, O_RDWR|O_CREAT|O_EXCL, 0600); in lock1()
|
/titanic_41/usr/src/cmd/projadd/ |
H A D | projdel.pl | 125 sysopen($pfh, $tmpprojf, O_WRONLY | O_CREAT | O_EXCL, $mode) ||
|
/titanic_41/usr/src/cmd/sendmail/db/os/ |
H A D | os_open.c | 56 flags |= O_EXCL;
|
/titanic_41/usr/src/lib/libdevice/ |
H A D | devctl.c | 119 oflags = ((flags & DC_EXCL) != 0) ? O_EXCL|O_RDWR : O_RDWR; in devctl_bus_acquire() 142 oflags = ((flags & DC_EXCL) != 0) ? O_EXCL|O_RDWR : O_RDWR; in devctl_device_acquire() 168 oflags = ((flags & DC_EXCL) != 0) ? O_EXCL : 0; in devctl_ap_acquire() 194 oflags = ((flags & DC_EXCL) != 0) ? (O_EXCL | O_RDWR) : O_RDWR; in devctl_pm_bus_acquire() 218 oflags = ((flags & DC_EXCL) != 0) ? (O_EXCL | O_RDWR) : O_RDWR; in devctl_pm_dev_acquire()
|