/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/ |
H A D | mkfs.c | 288 fsi = open(raw_special, 0); in main() 430 fso = open(fsys, O_RDONLY); in main()
|
/illumos-gate/usr/src/cmd/fm/notify/smtp-notify/common/ |
H A D | smtp-notify.c | 120 if ((fd = open(template, O_RDONLY)) < 0) { in read_template()
|
/illumos-gate/usr/src/cmd/dtrace/ |
H A D | dtrace.c | 304 if ((fd = open(fname, O_RDONLY)) == -1) { in dof_prune() 325 if ((fd = open(fname, O_WRONLY | O_TRUNC)) == -1) in dof_prune() 386 if ((fd = open(fname, O_RDONLY)) == -1) in etcsystem_prune() 430 if ((fd = open(tmpname, in etcsystem_prune()
|
/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/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ikeadm.c | 360 doorfd = open(DOORNM, O_RDONLY); in open_door() 2593 fd = open(argv[1], O_RDWR | O_CREAT | O_APPEND, in do_setvar() 3009 fd = open(argv[0], O_RDONLY); in do_new() 3075 fd = open(tmpfilepath, O_RDWR | O_CREAT | O_EXCL, in do_new() 3228 fd = open(argv[0], oflag, omode); in do_rw()
|
/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 | 977 (devrandom = open("/dev/urandom", O_RDONLY)) == -1) { in getrandom() 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-crypto/decrypt/ |
H A D | decrypt.c | 680 if ((infd = open(inputfile, O_RDONLY | O_NONBLOCK)) == -1) { in execute_cmd() 721 if ((outfd = open(outfilename, in execute_cmd()
|
/illumos-gate/usr/src/cmd/cmd-crypto/digest/ |
H A D | digest.c | 723 if ((fd = open(filename, O_RDONLY | O_NONBLOCK)) == in execute_cmd()
|
/illumos-gate/usr/src/cmd/boot/fiocompress/ |
H A D | fiocompress.c | 134 fd = open(srcfile, O_RDONLY, 0); in setup_infile() 163 fd = open(dstfile, O_WRONLY | O_CREAT | O_TRUNC, in setup_outfile()
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 775 fd = open(path, O_CREAT|O_RDWR, 0644); in zsd_fattach_zone() 2524 int *fd, *open; in zsd_open_exacct() local 2538 open = &ctl->zsctl_proc_open; in zsd_open_exacct() 2544 open = &ctl->zsctl_proc_open_next; in zsd_open_exacct() 2548 *open = 0; in zsd_open_exacct() 2601 *open = 1; in zsd_open_exacct() 2606 *open = 0; in zsd_open_exacct() 2672 fd = open(path, O_RDONLY); in zsd_refresh_procs()
|
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/ |
H A D | syseventd.c | 395 fd = open("/dev/null", 0); in main() 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()
|
/illumos-gate/usr/src/cmd/varpd/ |
H A D | varpd.c | 153 fd = open(VARPD_RUNDIR, O_RDONLY); in varpd_dir_setup() 175 dupfd = open(_PATH_DEVNULL, O_RDONLY); in varpd_fd_setup()
|
/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/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/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/svc/configd/ |
H A D | configd.c | 602 if ((fd = open(pidpath, O_RDONLY)) < 0 || in main()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_proc.c | 3384 if ((fd = open(file, oflags, mode)) >= 0) { in pt_dupfd()
|
H A D | mdb_main.c | 303 if ((fd = open("/dev/kmdb", O_RDONLY)) < 0) in control_kmdb() 456 _mdb_self_fd = open("/proc/self/as", O_RDONLY); in main()
|
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 966 fd = open(SYSCON, O_RDWR | O_NOCTTY); in enter_maintenance() 2201 Pfd = open(INITPIPE, O_RDWR | O_NDELAY); in setup_pipe() 2207 Pfd = open(INITPIPE, O_RDWR | O_NDELAY); in setup_pipe() 2965 if ((fd = open(SYSCON, O_RDWR | O_NOCTTY)) < 0 || in console() 3870 st_fd = open(init_state_file, O_RDWR | O_CREAT | O_EXCL, in st_init() 3879 st_fd = open(init_state_file, O_RDWR, S_IRUSR | S_IWUSR); in st_init() 3984 st_fd = open(init_next_state_file, in st_write()
|
/illumos-gate/usr/src/cmd/consadm/ |
H A D | consadm.c | 346 if ((lckfd = open(CONSADMLOCK, O_CREAT | O_EXCL | O_WRONLY, in getlock() 590 if ((fd = open(MSGLOG, O_RDWR)) < 0) in setfallback() 941 if ((fd = open(devp, O_RDWR | O_NOCTTY | O_NONBLOCK | O_NDELAY)) < 0) in safeopen()
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | main.c | 1324 if ((fd = open(name, O_RDONLY)) < 0) { in command_chain()
|
/illumos-gate/usr/src/boot/common/ |
H A D | gfx_fb.c | 2052 fd = open(path, O_RDONLY); in load_font() 2148 fd = open(fonts, O_RDONLY); in read_list() 2209 fd = open(name, O_RDONLY); in insert_font()
|
/illumos-gate/usr/src/cmd/ps/ |
H A D | ps.c | 746 if ((procfd = open(pname, O_RDONLY)) < 0 || in stdmain() 945 if ((procfd = open(pname, O_RDONLY)) == -1) { in print_proc() 1007 if ((procfd = open(pname, O_RDONLY)) == -1) in print_proc() 1764 (fd = open(path, O_RDONLY)) != -1) { in print_field()
|
/illumos-gate/usr/src/data/terminfo/ |
H A D | terminfo.src | 232 # Standard for Linux and open-source BSD systems. Some vendors (notably Sun) 6862 # Open the case and look at the motherboard; if you see an open 24-pin DIP
|