/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_main.c | 142 if ((fd = open(doorpath, O_CREAT|O_RDONLY, 0644)) == -1) { in dlmgmt_door_attach()
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | hald.c | 527 if ((pf= open (HALD_PID_FILE, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0644)) > 0) { in main()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_options.c | 194 if ((fd = open64(arg, O_CREAT | O_WRONLY, 0666)) == -1) in dt_opt_ctypes() 219 if ((fd = open64(arg, O_CREAT | O_WRONLY, 0666)) == -1) in dt_opt_dtypes()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getutx.c | 194 if ((fd = open(utmpxfile, O_RDWR|O_CREAT, 0644)) < 0) { in getutxent_frec() 1081 if ((lockfd = open(UTMPX_FILE, O_RDWR|O_CREAT, 0644)) < 0) in lockutx()
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdladm.c | 614 if ((lock_fd = open(lock_file, O_RDWR | O_CREAT | O_TRUNC, in i_dladm_lock_db() 785 if ((nfd = open(newfile, O_WRONLY | O_CREAT | O_TRUNC, in i_dladm_rw_db()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ip_fil.c | 746 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()
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_cron.c | 192 if ((fd = open(fname, O_CREAT|O_WRONLY|O_TRUNC, 0200)) == -1) in audit_cron_setinfo()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sftmp.c | 258 if((fd = sysopenf(file,O_RDWR|O_CREAT|O_EXCL|O_TEMPORARY,SF_CREATMODE)) >= 0)
|
/illumos-gate/usr/src/cmd/sendmail/util/ |
H A D | makemap.c | 312 mode |= O_CREAT|O_TRUNC;
|
/illumos-gate/usr/src/cmd/power/ |
H A D | conf.c | 271 if ((fd = open(cpr_conf, O_CREAT | O_TRUNC | O_WRONLY, 0644)) == -1) in update_cprconfig()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | nvfile.c | 999 file = nvf_open(NVF_TMP_FILENAME, O_RDWR | O_CREAT, 0600); in nvf_flush() 1320 if (flags & O_CREAT) in nvf_open()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | scalls.c | 850 return (open(path, O_WRONLY | O_CREAT | O_TRUNC, mode)); in creat() 883 return (open64(path, O_WRONLY | O_CREAT | O_TRUNC, mode)); in creat64()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | exec.c | 422 if (Open(outfile, O_CREAT|O_TRUNC|O_WRONLY, 0600) == -1) in exec() 434 if (Open(errfile, O_CREAT|O_TRUNC|O_WRONLY, 0600) == -1) in exec()
|
/illumos-gate/usr/src/cmd/projadd/ |
H A D | projmod.pl | 648 sysopen($pfh, $tmpprojf, O_WRONLY | O_CREAT | O_EXCL, $mode) ||
|
/illumos-gate/usr/src/cmd/acpi/common/ |
H A D | osunixxf.c | 898 Sem = sem_open (SemaphoreName, O_EXCL|O_CREAT, 0755, InitialUnits); in AcpiOsCreateSemaphore()
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | devreserv.c | 189 lkfilefd = open(lockname, O_RDWR|O_CREAT, 0600); in _openlkfile()
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_elfwrite.c | 411 if ((ofd = open(output, O_RDWR | O_CREAT | O_TRUNC, st.st_mode)) < 0) in ctf_elfwrite()
|
/illumos-gate/usr/src/lib/pam_modules/unix_account/ |
H A D | unix_acct.c | 99 if ((fdl = open(LASTLOG, O_RDWR|O_CREAT, 0444)) >= 0) { in check_for_login_inactivity()
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_event.c | 1039 switch (fm & (O_ACCMODE | O_CREAT | O_TRUNC)) { in open_event() 1043 case O_RDONLY | O_CREAT: in open_event() 1049 case O_RDONLY | O_TRUNC | O_CREAT: in open_event() 1055 case O_WRONLY | O_CREAT: in open_event() 1061 case O_WRONLY | O_TRUNC | O_CREAT: in open_event() 1067 case O_RDWR | O_CREAT: in open_event() 1073 case O_RDWR | O_TRUNC | O_CREAT: in open_event() 1123 if ((fm & (O_RDONLY|O_WRONLY|O_RDWR|O_CREAT|O_TRUNC)) == O_RDONLY) in aus_open() 1171 if ((fm & (O_RDONLY|O_WRONLY|O_RDWR|O_CREAT|O_TRUNC)) == O_RDONLY) in aus_openat()
|
/illumos-gate/usr/src/lib/libexacct/common/ |
H A D | exacct_ops.c | 1064 if (oflags & O_CREAT) { in ea_fdopen() 1164 if (oflags & O_CREAT) in ea_open()
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | makedbm.c | 370 if ((fdb = dbm_open(dirbuf, O_RDWR | O_CREAT, 0644)) == NULL) {
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_main.c | 447 if ((fd = open(filepath, O_RDONLY | O_CREAT, access_mode)) == -1) { in vscand_init_file()
|
/illumos-gate/usr/src/lib/varpd/libvarpd/common/ |
H A D | libvarpd_door.c | 421 if ((fd = open(path, O_CREAT | O_RDWR, 0666)) == -1) { in libvarpd_door_server_create()
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | map_ctrl.c | 482 map->ttl = dbm_open(map->ttl_path, O_RDWR | O_CREAT, 0644); in open_yptol_files()
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioFile.cc | 156 desc = open(path, openmode | O_CREAT | O_TRUNC, 0666); in createfile()
|