/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_hout.c | 265 pfreeprocdef(char *name, char *vers, int mode) argument 269 if (mode == 1) 351 int mode) 369 * mode 1 = ANSI-C, mode 2 = K&R C 371 if (mode == 1) 350 pprocdef(proc_list *proc, version_list *vp, char *addargtype, int server_p, int mode) argument
|
/illumos-gate/usr/src/cmd/sendmail/aux/ |
H A D | editmap.c | 94 int mode; local 277 mode = O_RDONLY; 282 mode = O_RDWR | O_CREAT; 289 errno = smdb_open_database(&database, mapname, mode, smode, sff,
|
H A D | makemap.c | 97 int mode; local 307 mode = O_RDONLY; 312 mode = O_RDWR; 315 mode |= O_CREAT|O_TRUNC; 323 errno = smdb_open_database(&database, mapname, mode, smode, sff,
|
/illumos-gate/usr/src/cmd/sendmail/db/lock/ |
H A D | lock.c | 117 list[i].obj, list[i].mode, &lp); 159 list[i].mode = lp->mode; 451 * Check that lock mode is valid. 456 "lock_get: invalid lock mode %lu\n", (u_long)lock_mode); 472 newl->mode = lock_mode; 513 if (lp->mode == lock_mode && 529 } else if (CONFLICTS(lt, lp->mode, lock_mode)) 552 if (CONFLICTS(lt, lp->mode, lock_mode) && 655 * upgrade the mode 713 const char *mode, *status; local [all...] |
/illumos-gate/usr/src/cmd/sgs/ar/common/ |
H A D | cmd.c | 631 * setuid/setgid bits in the mode to avoid setuid nobody 790 ar_select(int *pairp, unsigned long mode) argument 796 while (--n >= 0 && (mode & *ap++) == 0)
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | outfile.c | 80 mode_t mode; local 84 * Determine the required file mode from the type of output file we 87 mode = (ofl->ofl_flags & (FLG_OF_EXEC | FLG_OF_SHAROBJ)) 127 mode)) < 0) { 158 mode)) < 0) {
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | AudioTypes.h | 104 fileaccess_t mode; // combined mode member in class:FileAccess 106 FileAccess(fileaccess_t x = NoAccess): mode(x) { } // Constructor 108 { return (mode); } 110 switch (mode) { 121 { return ((int)mode & 1); } 123 { return ((int)mode & 2); } 125 { return ((int)mode & 4); }
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | bstream.c | 363 int mode; local 366 if ((mode = fcntl(0, F_GETFD, NULL)) < 0) { 370 mode &= 3; 371 if ((mode != O_RDONLY) && (mode != O_RDWR)) {
|
H A D | device.c | 50 * Old sun drives have a vendor specific mode page for setting/getting speed. 171 (void) printf("Could not read mode page 2A! \n"); 547 * the first device found depending on the mode argument. 548 * possible mode values are: 554 scan_for_cd_device(int mode, cd_device **found) argument 565 TRACE(traceall_msg("scan_for_cd_devices (mode=%d) called\n", mode)); 567 if (mode) { 598 if ((writers_found == 1) && (mode != SCAN_LISTDEVS)) { 602 } else if ((mode 728 write_next_track(int mode, bstreamhandle h) argument [all...] |
/illumos-gate/usr/src/cmd/chmod/ |
H A D | common.c | 42 * This is necessary because the mode-parsing code here makes use of such 88 abs(mode_t mode, o_mode_t *group_clear_bits, o_mode_t *group_set_bits), 108 * We are parsing a comma-separated list of mode expressions of the form: 119 * new_mode contains the mode value constructed by parsing the 121 * old_mode contains the mode provided by the caller 140 mode_t old_mode = new_mode; /* save original mode */ 343 /* create new mode */ 409 /* create new mode */ 455 * changed when the mode argument is a string 463 * create new mode 490 abs(mode_t mode, o_mode_t *group_clear_bits, o_mode_t *group_set_bits) argument [all...] |
/illumos-gate/usr/src/cmd/id/ |
H A D | id.c | 56 static PRINT mode = CURR; variable 91 if (mode != CURR) 93 mode = ALLGROUPS; 97 if (mode != CURR) 99 mode = GROUP; 115 if (mode != CURR) 117 mode = USER; 121 if (mode != CURR) 138 if ((mode == CURR && (nflag || rflag)) || 139 (mode [all...] |
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/ |
H A D | keytab.c | 430 enum { UNDEF, SPEC, HIGH, ALL, OLD } mode; local 442 mode = UNDEF; 444 mode = HIGH; 447 mode = ALL; 450 mode = OLD; 453 mode = SPEC; 465 if (mode != SPEC) 497 ((mode == ALL) || 498 (mode == SPEC && entry.vno == kvno) || 499 (mode [all...] |
/illumos-gate/usr/src/cmd/sh/ |
H A D | hashserv.c | 449 * given by mode. 455 chk_access(unsigned char *name, mode_t mode, int regflag) argument 469 if(mode == S_IEXEC && regflag && ftype != S_IFREG) 471 if(access((char *)name, 010|(mode>>6)) == 0) { 473 if (ftype != S_IFREG || mode != S_IEXEC)
|
H A D | io.c | 127 chkopen(unsigned char *idf, int mode) argument 131 if ((rc = open((char *)idf, mode, 0666)) < 0)
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | utmpx.c | 396 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; local 404 O_WRONLY | O_CREAT | O_TRUNC, mode)) != -1) { 405 (void) fchmod(fd, mode); /* force mode regardless of umask() */
|
/illumos-gate/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_event.c | 196 int mode, 205 if (mode & (VWRITE | VEXEC)) 194 ctfs_ev_access( vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *cct) argument
|
H A D | ctfs_root.c | 432 int mode, 437 if (mode & VWRITE) 450 int mode, 455 if (mode & (VWRITE | VEXEC)) 468 int mode, 473 if (mode & VEXEC) 430 ctfs_access_dir( vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument 448 ctfs_access_readonly( vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument 466 ctfs_access_readwrite( vnode_t *vp, int mode, int flags, cred_t *cr, caller_context_t *ct) argument
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_ptsops.c | 332 int mode, struct vnode **vpp, struct cred *cred, int flag, 345 else if (vp->v_type == VDIR && (mode & VWRITE)) 348 error = VOP_ACCESS(vp, mode, 0, cred, ct); 331 devpts_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, int mode, struct vnode **vpp, struct cred *cred, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
|
H A D | sdev_vtops.c | 452 int mode, struct vnode **vpp, struct cred *cred, int flag, 469 else if (vp->v_type == VDIR && (mode & VWRITE)) 472 error = VOP_ACCESS(vp, mode, 0, cred, ct); 451 devvt_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, int mode, struct vnode **vpp, struct cred *cred, int flag, caller_context_t *ct, vsecattr_t *vsecp) argument
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_acl_vnops.c | 278 acl_access2(vnode_t *vp, int mode, int flags, cred_t *cr) argument 293 if (mode & VREAD) 295 if (mode & VWRITE) { 302 if (mode & VEXEC) {
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sock_notsupp.c | 148 int mode, int32_t *rvalp, cred_t *cred) 147 sock_ioctl_notsupp(sock_lower_handle_t handle, int cmd, intptr_t arg, int mode, int32_t *rvalp, cred_t *cred) argument
|
H A D | sockcommon_vnops.c | 205 socket_vop_ioctl(struct vnode *vp, int cmd, intptr_t arg, int mode, argument 212 return (socket_ioctl(so, cmd, arg, mode, cr, rvalp)); 394 socket_vop_access(struct vnode *vp, int mode, int flags, struct cred *cr, argument 402 mode, flags, cr, NULL));
|
/illumos-gate/usr/src/ucbcmd/install.d/ |
H A D | install.c | 56 #define DEF_MODE 0755 /* default mode */ 60 int mode = DEF_MODE; variable 103 mode = atoo(optarg); 150 mode = (mode & ~S_ISGID) | (stb.st_mode & S_ISGID); 151 if (mflag && chmod(dirname, mode)) { 233 /* open target, set mode, owner, group */ 238 if (fchmod(to_fd, mode)) { 320 fputs(gettext("usage: install [-cs] [-g group] [-m mode] [-o owner] file ... destination\n"), stderr); 321 fputs(gettext(" install -d [-g group] [-m mode] [ [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/dsw/ |
H A D | dsw.c | 60 static int iiioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *crp, 489 iiioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *crp, int *rvp) argument 494 ilp32 = (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32);
|
/illumos-gate/usr/src/uts/common/avs/ns/unistat/ |
H A D | spcs_s_k.c | 257 int mode = 0; local 265 (void) ddi_copyin((void *) ustatus, (void *) p, SPCS_S_REVSIZE, mode); 373 int mode = 0; local 398 sizeof (kstatus->sdata) + sizeof (kstatus->tdata)), mode); 400 (kstatus->icount * sizeof (kstatus->idata[0])), mode); 402 (kstatus->scount * sizeof (kstatus->sdata[0])), mode); 404 (kstatus->tcount * sizeof (kstatus->tdata[0])), mode);
|