/illumos-gate/usr/src/cmd/savecore/ |
H A D | savecore.c | 363 dumpfd = Open(dumpfile, O_RDWR | O_DSYNC, 0644); in read_dumphdr() 1485 dumpfd = Open(dumpfile, O_RDWR | O_DSYNC, 0644); in message_save() 1565 dumpfd = Open(dumpfile, O_RDWR | O_DSYNC, 0644); in stack_retrieve()
|
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_libscf.c | 779 fd = open(est->sc_repo_doorname, O_CREAT | O_EXCL | O_RDWR, 0600); in start_private_repository() 817 fd = open(est->sc_repo_doorname, O_RDWR); in start_private_repository()
|
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 1125 if ((fd = open(name, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR)) < 0) { in kmc_open_and_lock()
|
/illumos-gate/usr/src/test/util-tests/tests/smbios/ |
H A D | smbios.c | 694 fd = openat(test_dirfd, fname, O_RDWR | O_CREAT, 0644); in smbios_test_run_one()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_util.c | 691 if ((hdl->libzfs_fd = open(ZFS_DEV, O_RDWR)) < 0) { in libzfs_init()
|
H A D | libzfs_sendrecv.c | 2052 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/ztest/ |
H A D | ztest.c | 951 int fd = open(path, O_RDWR | O_CREAT | O_TRUNC, 0666); in make_vdev_file() 3484 if ((fd = open(vd->vdev_path, O_RDWR)) == -1) in grow_vdev() 5818 fd = open(pathrand, O_RDWR); in ztest_fault_inject()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/ |
H A D | lock.c | 1187 fd = open(lockpath, O_CREAT|O_RDWR, LOCK_FILEMODE); in _openLockFile()
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_define.c | 1388 if ((fd = open(BOFI_DEV, O_RDWR)) == -1) { in thr_collect() 1776 fd = open(BOFI_DEV, O_RDWR); in test_driver() 2268 if ((fd = open(BOFI_DEV, O_RDWR)) == -1) { in main()
|
/illumos-gate/usr/src/cmd/trapstat/sun4/ |
H A D | trapstat.c | 1062 if ((g_fd = open(TSTAT_DEVICE, O_RDWR)) == -1) in main()
|
/illumos-gate/usr/src/cmd/rsrvrctl/ |
H A D | rsrvrctl.c | 227 fd = open(VMM_CTL_DEV, O_EXCL | O_RDWR); in main()
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.c | 587 fd = open64(CTFS_ROOT "/process/template", O_RDWR); in init_template() 1725 if ((doorfd = open(zone_door_path, O_CREAT|O_RDWR, in make_daemon_exclusive()
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 998 if ((fd = open(vdev, O_RDWR)) < 0) { in zpool_do_labelclear() 8494 int fd = open(ZFS_DEV, O_RDWR); in main()
|
/illumos-gate/usr/src/cmd/stmsboot/ |
H A D | stmsboot_util.c | 159 mapfd = open(ondiskname, O_RDWR|O_CREAT|O_SYNC, S_IRUSR | S_IWUSR); in main() 1332 vhci_fd = open(VHCI_CTL_NODE, O_RDWR); in vhci_to_phci()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/labelit/ |
H A D | labelit.c | 201 flags = O_RDWR; in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rlogind.c | 1057 if ((p = open("/dev/ptmx", O_RDWR)) == -1) in doit() 1065 if ((t = open(line, O_RDWR)) == -1) in doit() 1163 if ((tt = open(line, O_RDWR)) == -1) in doit() 1357 if ((ptmfd = open("/dev/logindmux", O_RDWR)) == -1) in protocol() 1360 if ((netfd = open("/dev/logindmux", O_RDWR)) == -1) in protocol()
|
H A D | in.telnetd.c | 2759 if ((p = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) { in doit() 2769 if ((t = open(subsidname, O_RDWR | O_NOCTTY)) == -1) in doit() 2993 if ((ptmfd = open("/dev/logindmux", O_RDWR)) == -1) { in doit() 2996 if ((netfd = open("/dev/logindmux", O_RDWR)) == -1) { in doit() 3113 tt = open(line, O_RDWR); in doit()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ikeadm.c | 2593 fd = open(argv[1], O_RDWR | O_CREAT | O_APPEND, in do_setvar() 3075 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/devfsadm/ |
H A D | devfsadm.c | 1274 if ((fd = open(door_file, O_RDWR | O_CREAT, SYNCH_DOOR_PERMS)) == -1) { in daemon_update() 1308 if ((fd = open(door_file, O_RDWR | O_CREAT, S_IRUSR|S_IWUSR)) == -1) { in daemon_update() 3897 (void) open("/dev/null", O_RDWR, 0); in detachfromtty() 3935 dev_lock_fd = open(dev_lockfile, O_CREAT|O_RDWR, 0644); in enter_dev_lock() 4061 daemon_lock_fd = open(daemon_lockfile, O_CREAT|O_RDWR, 0644); in enter_daemon_lock()
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 640 fd = open64(CTFS_ROOT "/process/template", O_RDWR); in init_template() 775 fd = open(path, O_CREAT|O_RDWR, 0644); in zsd_fattach_zone()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmchild.c | 242 if ((pmtab->p_fd = open(pmtab->p_device, O_RDWR)) != 0) { in openline()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_proc.c | 973 int mode = (flags & MDB_TGT_F_RDWR) ? O_RDWR : O_RDONLY; in pt_setflags() 3405 pt_dupfd(pt->p_stdin, O_RDWR, 0, STDIN_FILENO); in Pcreate_callback() 5326 pt->p_oflags = O_RDWR; in mdb_proc_tgt_create()
|
/illumos-gate/usr/src/cmd/saf/ |
H A D | sac.c | 197 Sfd = open("_sacpipe", O_RDWR); in initialize() 243 sp->sc_fd = open(Scratch, O_RDWR); in startpms() 397 sp->sc_fd = open(Scratch, O_RDWR); in startpm() 1098 fd = open(CMDPIPE, O_RDWR | O_CREAT, 0600); in mk_cmd_pipe()
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_main.c | 139 daemon_lock_fd = open(daemon_lock_file, O_CREAT|O_RDWR, 0644); in enter_daemon_lock() 283 (void) open("/dev/null", O_RDWR, 0); in detachfromtty()
|
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/ |
H A D | syseventd.c | 1469 fd = open(local_door_file, O_CREAT|O_RDWR, S_IREAD|S_IWRITE); in syseventd_init() 1559 daemon_lock_fd = open(local_lock_file, O_CREAT|O_RDWR, 0644); in enter_daemon_lock()
|