/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | dbtab.c | 1316 dbp = db_get_db(fhpath, &fh->fh_fsid, &error, O_CREAT); in db_add() 1375 dbp = db_get_db(fhpath, &fh->fh_fsid, errorp, O_CREAT); in db_lookup() 1417 dbp = db_get_db(fhpath, &dfh->fh_fsid, errorp, O_CREAT); in db_lookup_link() 1588 dbp = db_get_db(fhpath, &dfh->fh_fsid, &error, O_CREAT); in db_delete_link() 1615 dbp = db_get_db(fhpath, &fh->fh_fsid, &error, O_CREAT); in db_delete() 1646 dbp = db_get_db(fhpath, &from_dfh->fh_fsid, &error, O_CREAT); in db_rename_link()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | asppp2pppd | 806 if (!sysopen(PWDLCK, $passwdlck, O_WRONLY|O_CREAT, 0600)) { 1478 } until sysopen(FH, $tempname, O_RDWR|O_CREAT|O_EXCL); 1495 } until sysopen(FH, $tempname, O_RDWR|O_CREAT|O_EXCL); 1581 if (sysopen(OUTFILE, $$filerec[0], O_WRONLY|O_CREAT|O_TRUNC, 0600)) {
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | collect.c | 109 if ((fd = open(tempMail, O_RDWR|O_CREAT|O_EXCL, 0600)) < 0 || in collect() 854 if ((fd = open(tempEdit, O_RDWR|O_CREAT|O_EXCL, 0600)) < 0 || in mesedit() 959 if ((fd = open(tempMail, O_RDWR|O_CREAT|O_EXCL, 0600)) < 0 || in mesedit() 1006 if ((fd = open(tempEdit, O_RDWR|O_CREAT|O_EXCL, 0600)) < 0 || in mespipe()
|
/illumos-gate/usr/src/cmd/dd/ |
H A D | dd.c | 901 obf = open(ofile, (O_WRONLY | O_CREAT | oflag), in main() 905 obf = open(ofile, O_WRONLY | O_CREAT | oflag, in main() 921 obf = open(ofile, O_WRONLY | O_CREAT | O_TRUNC | oflag, in main()
|
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_deleted.c | 129 AT_FDCWD, path, O_WRONLY | O_CREAT | O_TRUNC, mode)); in s10_creat() 152 AT_FDCWD, path, O_WRONLY | O_CREAT | O_TRUNC, mode)); in s10_creat64()
|
/illumos-gate/usr/src/cmd/sendmail/libsmdb/ |
H A D | smdb1.c | 489 bitset(mode, O_CREAT)) 501 mode &= ~(O_CREAT|O_EXCL);
|
H A D | smndbm.c | 522 bitset(mode, O_CREAT)) 546 mode &= ~(O_CREAT|O_EXCL);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | bf.c | 548 O_RDWR | O_CREAT | O_TRUNC | QF_O_EXTRA, 710 O_RDWR | O_CREAT | O_EXCL | QF_O_EXTRA,
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/ |
H A D | mkholes.c | 140 if ((fd = open(fname, O_LARGEFILE | O_RDWR | O_CREAT | O_SYNC, in main()
|
/illumos-gate/usr/src/cmd/projadd/ |
H A D | projadd.pl | 278 sysopen($pfh, $tmpprojf, O_WRONLY | O_CREAT | O_EXCL, $mode) ||
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/aso/ |
H A D | aso-fcntl.c | 120 …if (fd >= 0 || (fd = open(path, O_RDWR|O_cloexec)) < 0 && (fd = open(path, O_CREAT|O_RDWR|O_cloexe…
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | debug.c | 122 dbg_fd = open(file, O_RDWR | O_CREAT | O_TRUNC, 0666); in dbg_setup()
|
/illumos-gate/usr/src/cmd/fs.d/reparsed/ |
H A D | reparsed.c | 331 if ((dfd = open(REPARSED_DOOR, O_RDWR|O_CREAT|O_TRUNC, in start_reparsed_svcs()
|
/illumos-gate/usr/src/lib/librename/common/ |
H A D | librename.c | 111 oflags = O_CREAT | O_TRUNC | O_RDWR | O_NOFOLLOW; in librename_atomic_fdinit()
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_write.c | 111 fd = open(file, O_RDWR | O_CREAT | O_EXCL, 0644); in _file_put_printer()
|
/illumos-gate/usr/src/cmd/mkfile/ |
H A D | mkfile.c | 132 fd = open(argv[1], O_CREAT|O_TRUNC|O_RDWR, FILE_MODE); in main()
|
/illumos-gate/usr/src/cmd/ypcmd/shared/ |
H A D | lockmap.c | 183 lockfile = open(LOCKFILE, O_RDWR|O_CREAT, 0600); in init_lock_map()
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_events.c | 205 if ((fd = open(eventmsgfile, O_RDWR | O_CREAT | O_TRUNC, 0644)) == -1) in nwam_event_queue_init()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_open.c | 114 adp->arg_value = (O_WRONLY | O_CREAT | O_TRUNC); in pr_creat()
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | files.c | 159 if ((fd = Open(path, oflag|O_CREAT, mode)) != -1) in open_locked()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | omitted | 17 if (_fstat(fd, &fs) || (td = _open(to, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY, fs.st_mode & 0777)) < 0)
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/ctime/ |
H A D | ctime_001_pos.c | 305 if ((fd = open(tfile, O_WRONLY | O_CREAT | O_TRUNC, ALL_MODE)) == -1) { in main()
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | lock_update.c | 130 lockfile = open(LOCKFILE, O_RDWR|O_CREAT, 0600); in init_update_lock_map()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | logging.c | 304 curlogfd = open(fname, O_WRONLY|O_APPEND|O_CREAT, 0600); in log_for_service()
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | update.c | 265 wfd = open(tmpname, O_CREAT|O_RDWR|O_TRUNC,
|