/illumos-gate/usr/src/cmd/fs.d/smbclnt/chacl/ |
H A D | chacl.c | 169 * The driver will re-open with the necessary 172 fd = open(file, O_RDONLY, 0);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/ |
H A D | fssnap.c | 210 if ((mountfd = open(mountpoint, O_RDONLY)) < 0) 301 if ((ctlfd = open(SNAP_CTL_PATH, O_RDONLY | O_EXCL)) == -1) { 352 if ((ctlfd = open(SNAP_CTL_PATH, O_RDONLY | O_EXCL)) == -1) 642 fd = open(wpath, O_RDWR | O_CREAT | O_EXCL, 0600);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/ |
H A D | mount.c | 350 fd = open(mp, O_RDONLY); 363 fd = open(mp, O_RDONLY); 390 fd = open(mp, O_RDONLY); 599 if ((fd = open(MNTTAB, O_RDONLY, 0)) < 0)
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | osspec.c | 181 if ((mnttab_fd = open (MNTTAB, O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/cmd/hal/probing/printer/ |
H A D | probe-printer.c | 51 if ((fd = open (device_file, O_RDONLY | O_NONBLOCK)) < 0) {
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | kmem.c | 90 fd = open(core, mode); 142 perror("openkmem:open");
|
H A D | load_hash.c | 36 hashfd = open(IPLOOKUP_NAME, O_RDWR);
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ippool.c | 361 fd = open(IPLOOKUP_NAME, O_RDWR); 363 perror("open(IPLOOKUP_NAME)"); 447 fd = open(IPLOOKUP_NAME, O_RDWR); 449 perror("open(IPLOOKUP_NAME)"); 703 fd = open(IPLOOKUP_NAME, O_RDWR); 705 perror("open(IPLOOKUP_NAME)"); 792 fd = open(IPLOOKUP_NAME, O_RDWR); 794 perror("open(IPLOOKUP_NAME)");
|
/illumos-gate/usr/src/cmd/iscsitsvc/ |
H A D | iscsitsvc.c | 95 *fd = open(ISCSIT_NODE, O_RDONLY); 98 (void) fprintf(stdout, "open failed: EPERM"); 101 (void) fprintf(stdout, "open failed: INVALID"); 132 (void) fprintf(stdout, "Unable to open device %s", ISCSIT_NODE);
|
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | dumpbind.c | 161 if ((fd = open(fname, O_RDWR)) == -1) { 163 "dumpbindings: unable to open file: %s\n", fname); 164 perror("open");
|
/illumos-gate/usr/src/cmd/sgs/prof/common/ |
H A D | symintOpen.c | 53 * to open. 69 * Under ELF, the file must be opened using a system open call. The file 78 * Thus, for ELF, an open will consist of opening the file and extracting 80 * open is as follows; the code for building the symbol table (extracting 92 *fail_open_s = "Unable to open file", 132 * Elf file open operation 135 * - open file 163 DEBUG_EXP(printf("Attempting to open %s\n", aout_name)); 166 if ((pfile_p->pf_fildes = open(aout_name, O_RDONLY)) == -1)
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | locale.c | 157 if ((fd = open(path, O_RDONLY, 0)) == -1)
|
/illumos-gate/usr/src/cmd/srchtxt/ |
H A D | srchtxt.c | 245 if ((fd = open(path, O_RDONLY)) != -1 &&
|
/illumos-gate/usr/src/cmd/streams/log/ |
H A D | strace.c | 194 log = open(LOGDEV, O_RDWR); 196 fprintf(stderr, "ERROR: unable to open %s\n", LOGDEV);
|
H A D | strerr.c | 120 fd = open(LOGDEV, O_RDWR); 122 fprintf(stderr, "ERROR: unable to open %s\n", LOGDEV); 153 fprintf(stderr, "ERROR: unable to open %s\n", errfile);
|
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | util.c | 143 fd = open(name, O_RDONLY);
|
/illumos-gate/usr/src/cmd/lms/tools/ |
H A D | ATVersion.cpp | 139 pidf.open(status_path);
|
/illumos-gate/usr/src/cmd/loadkeys/ |
H A D | dumpkeys.c | 80 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) {
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | lockinst.c | 69 #define ERR_NOOPEN "unable to open <%s>." 188 /* LINTED O_CREAT without O_EXCL specified in call to open() */ 189 if ((fd = open(lockpath, O_RDWR | O_CREAT, 0600)) == -1) {
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | uucplock.c | 125 fd = open(file, 0);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_onexit.c | 29 #include <sys/open.h> 47 * clone-open, generating a unique minor number. The process then passes
|
/illumos-gate/usr/src/tools/chk4ubin/ |
H A D | chk4ubin.c | 148 if ((fd = open(path, O_RDONLY)) == -1) { 149 (void) printf("%s: cannot open %s - %s\n",
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | ctfconvert.c | 91 if ((fd = open(filename, O_RDONLY)) < 0) 92 terminate("failed to open %s", filename);
|
/illumos-gate/usr/src/tools/elfextract/ |
H A D | elfextract.c | 217 fd = open(fname, O_RDONLY); 219 (void) fprintf(stderr, "%s: open(%s, O_RDONLY) failed, %s\n",
|
/illumos-gate/usr/src/tools/mbh_patch/ |
H A D | mbh_patch.c | 181 if ((fd = open(fname, O_RDWR)) < 0) { 182 (void) fprintf(stderr, "%s: open(%s, O_RDWR) failed: %s\n",
|