/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_dli.c | 108 fd = open(dlipath, oflag, mode);
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_zpool.c | 95 if ((fd = open(slice, O_RDONLY)) > 0) {
|
/illumos-gate/usr/src/lib/libvolmgt/common/ |
H A D | volmgt_on_private.c | 94 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) { 302 /* open the device */ 303 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) { 304 /* if we can't open it *assume* it's not a match */ 433 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) { 592 if ((xfd = open(NULL_PATH, O_RDWR)) >= 0) {
|
/illumos-gate/usr/src/lib/libnsl/common/ |
H A D | daemon_utils.c | 124 if ((fd = open(lock_file, mode, 0644)) == -1)
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | callers.c | 224 /* We do locking (file and advisory) after open */ 235 /* take care of the possible partial open fd */ 236 (void) close(nullfd = open("/", O_RDONLY)); 239 DEBUG(1, "generic open timeout\n%s", ""); 240 logent("generic open", "TIMEOUT"); 248 dcf = open(dcname, (O_RDWR | O_NDELAY)); 251 dcf = open(dcname, O_RDWR); 257 DEBUG(1, "generic open failed, errno = %d\n", errno); 259 logent("generic open", "FAILED"); 367 if ((ndcf = open(saved_dcnam [all...] |
/illumos-gate/usr/src/lib/libnsl/saf/ |
H A D | doconfig.c | 473 if (open("/dev/null", O_RDWR) != 0)
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | dbm.c | 73 pagf = open(pagbuf, 2); 75 pagf = open(pagbuf, 0); 85 dirf = open(pagbuf, 2); 87 dirf = open(pagbuf, 0);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | send.c | 90 /* open stream /dev/conslog */ 91 tfd = open(logname, O_WRONLY);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | pt.c | 219 return (open("/dev/ptmx", oflag));
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones_exec.c | 182 stdinfile = open(a_inputFile, O_RDONLY); 184 stdinfile = open("/dev/null", O_RDONLY); /* stdin = /dev/null */ 220 * adjust interrupts and open files as a prelude to a 246 /* Close all open files except standard i/o */ 649 * descriptors to remain open during the call - all 664 * -4 : could not open stdin source file 749 stdinfile = open(a_inputFile, O_RDONLY); 751 stdinfile = open("/dev/null", O_RDONLY); /* stdin = /dev/null */ 755 return (-4); /* -4 : could not open stdin source file */
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | udpublickey.c | 171 open("/dev/null", O_RDWR, 0);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rep.c | 237 * Set the mode to read only. Root user can still open as RDWR. 248 if ((fd = open(FAB_REPOSITORY, O_RDWR | O_CREAT)) == -1) { 314 if ((copy_fd = open(copy_rep, O_RDWR | O_CREAT | O_TRUNC, 442 if ((tmp_fd = open(tmp_rep, O_RDWR|O_CREAT|O_TRUNC, 537 if ((tmp_fd = open(tmp_rep, O_RDWR|O_CREAT|O_TRUNC,
|
/illumos-gate/usr/src/cmd/nohup/ |
H A D | nohup.c | 84 if ((fd = open(nout, flags, NOHUP_PERM)) < 0) { 90 (fd = open(nout, flags, NOHUP_PERM)) < 0) { 191 (void) fprintf(stderr, gettext("nohup: cannot open/create " 268 * file descriptor before we call open to handle the case that 290 gettext("nohup: process %d cannot open %s: %s\n"), 311 * The victim couldn't open nohup.out so we'll have it try to reopen 624 nh_fd = open(nout, O_WRONLY | O_CREAT, NOHUP_PERM); 630 nh_fd = open(nout, O_WRONLY | O_CREAT, NOHUP_PERM); 636 (void) fprintf(stderr, gettext("nohup: cannot open/create "
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcplugin/ |
H A D | psvcplugin.c | 247 * if the device file is present but the open returns ENXIO 254 fd = open(dev_pr_info[i].file, O_RDONLY);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcplugin/ |
H A D | psvcplugin.c | 169 * if the device file is present but the open returns ENXIO 176 fd = open(dev_pr_info[i].file, O_RDONLY);
|
/illumos-gate/usr/src/cmd/ptools/pwait/ |
H A D | pwait.c | 118 if ((pfd->fd = open(psinfofile, O_RDONLY)) >= 0) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | contracts.c | 59 if ((fd = open(CONTRACT_TEMPLATE_PATH, O_RDWR)) == -1) { 60 error_msg(gettext("Failed to open contract file %s: %s"), 194 "(could not open ctl file: permission denied).\n", 200 "with %s (could not open ctl file: %s). Events will be "
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/hmac/ |
H A D | hmac.c | 190 in_fd = open(infile_name, O_RDONLY); 192 wbku_printerr("Cannot open input_file"); 201 wbku_printerr("Cannot open %s", keyfile_name);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm.c | 224 if ((fd = open(argv[2+shift], O_RDONLY)) == -1)
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_context.c | 86 if (zfd == -1 && (zfd = open("/dev/zero", O_RDWR)) >= 0)
|
/illumos-gate/usr/src/cmd/mdb/tools/setdynflag/common/ |
H A D | setdynflag.c | 96 if ((fd = open(ifile, O_RDWR)) < 0) 97 die("Can't open %s", ifile);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestMultiAggPrinta.java | 132 consumer.open();
|
/illumos-gate/usr/src/cmd/emul64ioctl/ |
H A D | emul64ioctl.c | 129 * open the specified emul64_dev. 131 if ((fd = open(admin, O_RDONLY, 0444)) != -1) { 143 (void) printf("emul64ioctl: %s: open %s\n",
|
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/ |
H A D | cma_cache.c | 119 fd = open(mem_cache_device, O_RDWR); 121 fmd_hdl_debug(hdl, "Driver open failed\n");
|
H A D | cma_cpu_arch.c | 68 if ((fd = open("/dev/bl", O_RDONLY)) < 0)
|