/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_open_andx.c | 44 * USHORT DesiredAccess; File open mode 114 * oplocks during open. 178 * depends on the open and deny modes specified when the file was opened 181 * The MS-DOS compatibility mode of file open provides exclusion at the 182 * client level. A file open in compatibility mode may be opened (also in 185 * client. If the first client has the file open for writing, then the 187 * client has the file open only for reading, then other clients may open 190 * or .COM other clients are permitted to open the file regardless of 191 * read/write open mode [all...] |
H A D | smb_nt_transact_create.c | 27 * This command is used to create or open a file or directory, when EAs 42 * This command is used to create or open a file or directory, when EAs 55 struct open_param *op = &sr->arg.open; 65 bzero(op, sizeof (sr->arg.open)); 125 smb_sd_t *sd = sr->arg.open.sd; 135 if (sr->arg.open.dir != NULL) 136 smb_ofile_release(sr->arg.open.dir); 142 struct open_param *op = &sr->arg.open;
|
/illumos-gate/usr/src/tools/btxld/ |
H A D | version.c | 59 fd = open(file, O_RDONLY); 61 perror("open"); 117 fd = open(file, O_WRONLY | O_TRUNC); 119 perror("open");
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | git-pbchk.py | 244 fh = open(f, 'r') 254 fh = open(f, 'r') 264 fh = open(f, 'r') 274 fh = open(f, 'r') 286 fh = open(f, 'r') 297 fh = open(f, 'r') 307 fh = open(f, 'r')
|
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcp_stable.c | 70 if ((fd = open(DUID_FILE, O_RDONLY)) == -1) 107 if ((fd = open(DUID_FILE, O_WRONLY | O_CREAT, 0644)) == -1) 198 if ((fd = open(IAID_FILE, O_RDONLY)) == -1) 224 if ((fd = open(IAID_FILE, O_RDWR | O_CREAT, 0644)) == -1) 268 if ((fd = open(IAID_FILE, O_RDONLY)) == -1)
|
/illumos-gate/usr/src/lib/libnsctl/common/ |
H A D | cache.c | 48 * CKD module, and having nsc_open() prevent any non-NSC_CKD_DISK open 164 if ((fd->sf_fd = open(_NSC_DEV_PATH, fd->sf_fmode)) < 0) 211 (void) open("/dev/null", 0); 212 (void) open(_NSC_CKDCHK_LOG, O_WRONLY|O_CREAT|O_APPEND, 0666); 213 (void) open(_NSC_CKDCHK_LOG, O_WRONLY|O_CREAT|O_APPEND, 0666); 308 fd = open(_NSC_DEV_PATH, O_RDONLY);
|
/illumos-gate/usr/src/cmd/oplhpd/ |
H A D | oplhpd.c | 160 (void) open("/dev/null", O_RDONLY); 161 (void) open("/dev/null", O_WRONLY); 169 if ((pid_fd = open(OPLHPD_PID_FILE, O_RDWR | O_CREAT, 0644)) < 0) {
|
/illumos-gate/usr/src/cmd/acpihpd/ |
H A D | acpihpd.c | 153 (void) open("/dev/null", O_RDONLY); 154 (void) open("/dev/null", O_WRONLY); 161 if ((s_pid_fd = open(ACPIHPD_PID_FILE, O_RDWR | O_CREAT, 0644)) < 0) {
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/ |
H A D | nfsmapid.c | 107 (void) open("/dev/null", O_RDONLY); 108 (void) open("/dev/null", O_WRONLY); 231 * First issue a set*ent to "open" the databases and then 273 if ((dfd = open(NFSMAPID_DOOR, O_RDWR|O_CREAT|O_TRUNC, 275 syslog(LOG_ERR, "Unable to open %s: %m\n", NFSMAPID_DOOR);
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | suid_exec.c | 34 * The basic idea is to open the script as standard input, set the effective 38 * may pass file descriptor FDIN as an open file with mode SPECIAL if 41 * open file. On systems without the setreuid() call, e[ug]id is set 83 static const char badopen[] = "cannot open"; 156 n = open(p,0); 381 if((n = open(tmpname, O_WRONLY | O_CREAT | O_EXCL, SPECIAL)) < 0 || 384 if((n = open(tmpname, O_WRONLY | O_CREAT ,SPECIAL)) < 0 || unlink(tmpname) < 0) 422 if((m = open(THISPROG, O_RDONLY)) < 0) 429 if((n = open(tmpname,O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, mode)) < 0) 432 if((n = open(tmpnam [all...] |
/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | io.h | 168 /* Common predefined and already (usually) open files (exposed) */ 183 # define SM_IO_SET_TYPE(f, name, open, close, read, write, seek, get, set, timeout) \ 185 0, (close), (read), (seek), (write), (open), (set), (get), (timeout),\ 187 # define SM_IO_INIT_TYPE(f, name, open, close, read, write, seek, get, set, timeout) 190 # define SM_IO_SET_TYPE(f, name, open, close, read, write, seek, get, set, timeout) (f) 191 # define SM_IO_INIT_TYPE(f, name, open, close, read, write, seek, get, set, timeout) \ 207 (f).f_open = (open); \ 226 #define SMRW 0x000040 /* open for reading & writing */
|
/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg_lockdlck.c | 49 local_lockfd = open(CFG_RDEV_LOCKFILE, O_RDWR|O_CREAT, 0644); 50 local_lockfda = open(CFG_RDEV_LOCKFILE, O_RDWR|O_APPEND, 0644);
|
/illumos-gate/usr/src/lib/libtnfprobe/ |
H A D | trace_init.c | 132 * privilege to its real user id - so the open fails. In this case, 148 * initialized, so we can't call open() in libthread. 172 fd = open(tnf_trace_file_name, O_RDWR, TNF_FILE_MODE); 177 * trying to open the file - happens for setuid root 184 fd = open(tnf_trace_file_name,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/slpd/ |
H A D | slpd.c | 143 * Close existing file descriptors, open "/dev/null" as 148 (void) open("/dev/null", O_RDONLY); 149 (void) open("/dev/null", O_WRONLY);
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/baddof/ |
H A D | baddof.c | 101 new = open("/devices/pseudo/dtrace@0:dtrace", O_RDWR); 104 fatal("couldn't open DTrace pseudo device"); 167 fatal("couldn't open %s", filename); 173 fatal("cannot open dtrace library: %s\n", 196 fd = open("/devices/pseudo/dtrace@0:dtrace", O_RDWR); 199 fatal("couldn't open DTrace pseudo device");
|
/illumos-gate/usr/src/cmd/svc/profile/ |
H A D | Makefile | 84 # Enforce consistency between open and limited profiles per README 86 $(CHECK_OPEN) := PROFILES_CHECKED = open 89 $(CHECK_LMTD) := PROFILES_COVERING = open
|
/illumos-gate/usr/src/cmd/boot/mbr/ |
H A D | mbr.c | 91 fd = open(mboot_file, O_RDONLY); 95 perror("open"); 106 fd = open(device, O_RDWR); 110 perror("open");
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | safechown.c | 30 if ((fd = open(src, O_RDONLY, 0)) == -1)
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/docs/examples/ |
H A D | TestAPI2.java | 62 consumer.open();
|
H A D | TestTarget.java | 70 consumer.open();
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | prb_shmem.c | 57 shmem_fd = open("/dev/zero", O_RDWR); 59 DBG((void) fprintf(stderr, "couldn't open \"/dev/zero\""));
|
/illumos-gate/usr/src/lib/libpri/common/ |
H A D | pri.c | 55 fd = open(DS_PRI_DRIVER, O_RDONLY);
|
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | mktemp.c | 128 open(path, O_CREAT|O_EXCL|O_RDWR, 0600)) >= 0)
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/4.2/ |
H A D | fopen.c | 75 if ((fd = open(file, oflag, 0666)) < 0)
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/sys5/ |
H A D | fopen.c | 69 if ((fd = open(file, oflag, 0666)) < 0)
|