Home
last modified time | relevance | path

Searched refs:O_EXCL (Results 1 – 25 of 178) sorted by last modified time

12345678

/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c779 fd = open(est->sc_repo_doorname, O_CREAT | O_EXCL | O_RDWR, 0600); in start_private_repository()
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c3420 fd = open(filename, O_WRONLY | O_EXCL | O_CREAT | O_TRUNC, S_IRUSR); in opensavefile()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c2052 sdd.cleanup_fd = open(ZFS_DEV, O_RDWR|O_EXCL); in zfs_send()
4658 cleanup_fd = open(ZFS_DEV, O_RDWR|O_EXCL); in zfs_receive()
/illumos-gate/usr/src/cmd/rsrvrctl/
H A Drsrvrctl.c227 fd = open(VMM_CTL_DEV, O_EXCL | O_RDWR); in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c3075 fd = open(tmpfilepath, O_RDWR | O_CREAT | O_EXCL, in do_new()
3209 oflag = O_RDWR | O_CREAT | O_EXCL; in do_rw()
/illumos-gate/usr/src/cmd/dtrace/
H A Ddtrace.c431 O_WRONLY | O_CREAT | O_EXCL, sbuf.st_mode)) == -1) in etcsystem_prune()
/illumos-gate/usr/src/cmd/init/
H A Dinit.c3870 st_fd = open(init_state_file, O_RDWR | O_CREAT | O_EXCL, in st_init()
/illumos-gate/usr/src/cmd/consadm/
H A Dconsadm.c346 if ((lckfd = open(CONSADMLOCK, O_CREAT | O_EXCL | O_WRONLY, in getlock()
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dmqueue.c402 oflag = oflag & (O_RDONLY|O_WRONLY|O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK); in mq_open()
451 (O_RDWR|O_CREAT|O_EXCL), mode, &err)) < 0) in mq_open()
/illumos-gate/usr/src/lib/libvmmapi/common/
H A Dvmmapi.c142 ctl_fd = open(VMM_CTL_DEV, O_EXCL | O_RDWR); in vm_do_ctl()
/illumos-gate/usr/src/cmd/cxgbetool/
H A Dcxgbetool.c350 fd = open(fname, O_CREAT | O_TRUNC | O_EXCL | O_WRONLY, in do_collect()
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfabric-xlate.c65 fd = open(XMLTOPOFILE, O_RDWR | O_CREAT | O_EXCL, 0600); in fab_update_topo()
/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_virtio_viona.c591 sc->vsc_vnafd = open("/dev/viona", O_RDWR | O_EXCL); in pci_viona_viona_init()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/wificonfig/
H A Dwificonfig.c795 fd = open(pfile, O_CREAT|O_EXCL|O_RDWR, 0600); in parse_file()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A DRELEASE100 07-11-27 cp.c: open non-existent destination with O_EXCL
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c596 sfd = open(tmps, O_CREAT|O_APPEND|O_EXCL|O_RDWR, 0600); in main()
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c4217 fd = open(testfile, O_RDWR|O_CREAT|O_EXCL, 0644); in is_readonly()
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dmktemp.c123 open(path, O_CREAT|O_EXCL|O_RDWR, 0600)) >= 0) in gettemp()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_db2.c778 db = k5db2_dbopen(db_ctx, db_name, O_RDWR | O_CREAT | O_EXCL, 0600, db_ctx->tempdb); in krb5_db2_db_create()
H A Dadb_openclose.c58 db = dbopen(filename, O_RDWR | O_CREAT | O_EXCL, 0600, DB_BTREE, &btinfo); in osa_adb_create_db()
65 lf = THREEPARAMOPEN(lockfilename, O_RDWR | O_CREAT | O_EXCL, 0600); in osa_adb_create_db()
373 fd = THREEPARAMOPEN(db->lock->filename,O_RDWR | O_CREAT | O_EXCL, in osa_adb_release_lock()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_io.c99 d->fd = THREEPARAMOPEN(d->fn, O_WRONLY | O_CREAT | O_TRUNC | O_EXCL | in krb5_rc_io_creat()
118 O_EXCL | O_BINARY, 0600)) == -1) in krb5_rc_io_creat()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_file.c1256 open_flag | O_EXCL | O_CREAT, 0600); in krb5_fcc_open_nounlink()
1379 open_flag = O_CREAT|O_EXCL|O_TRUNC|O_RDWR; in krb5_fcc_open_file()
2174 ret = THREEPARAMOPEN(scratch, O_CREAT | O_EXCL | O_WRONLY | O_BINARY, 0); in krb5_fcc_generate_new()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dqueue.c28 # define TF_OPEN_FLAGS (O_CREAT|O_WRONLY|O_EXCL|O_EXLOCK)
30 # define TF_OPEN_FLAGS (O_CREAT|O_WRONLY|O_EXCL)
8520 flags = O_CREAT|O_WRONLY|O_EXCL;
/illumos-gate/usr/src/cmd/mailx/
H A Dcollect.c109 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/ipf/tools/
H A Dip_fil.c746 fd = open(fname, O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600); in init_ifp()
757 fd = open(fname, O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0600); in init_ifp()

12345678