/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | fmtperm.c | 27 * return strperm() expression for perm 34 fmtperm(register int perm) argument 47 if (perm & S_ISVTX) 49 if (perm & S_ISUID) 51 if (perm & S_IRUSR) 53 if (perm & S_IWUSR) 55 if (perm & S_IXUSR) 57 if ((perm & (S_ISGID|S_IXGRP)) == S_ISGID) 67 if ((perm & (S_ISGID|S_IXGRP)) == (S_ISGID|S_IXGRP)) 69 if (perm [all...] |
H A D | strperm.c | 27 * apply file permission expression expr to perm 43 strperm(const char* aexpr, char** e, register int perm) argument 54 if (perm == -1) 56 perm = 0; 92 perm &= ~who; 94 perm = 0; 113 if (!S_ISDIR(perm) && !(perm & (S_IXUSR|S_IXGRP|S_IXOTH))) 126 if (perm & S_IXGRP) 130 return perm [all...] |
/illumos-gate/usr/src/lib/libast/common/preroot/ |
H A D | realopen.c | 34 realopen(const char* path, int mode, int perm) argument 40 return(open(buf, mode, perm));
|
/illumos-gate/usr/src/cmd/killall/ |
H A D | killall.c | 45 char perm[] = "permission denied\n"; local 48 (void) write(2, perm, sizeof (perm)-1);
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | acl.y | 51 %type <acl_perm> perms perm aclent_perm ace_perms 519 ace_perms: perm {$$ = $1;} 527 perm: perms COLON {$$ = $1;} label
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | acls.c | 226 int type, perm, id; local 244 perm = list[i].a_perm; 286 *s++ = (perm & 04) ? 'r' : '-'; 287 *s++ = (perm & 02) ? 'w' : '-'; 288 *s++ = (perm & 01) ? 'x' : '-';
|
/illumos-gate/usr/src/cmd/getfacl/ |
H A D | getfacl.c | 39 * user::perm 40 * user:uid:perm 41 * group::perm 42 * group:gid:perm 43 * mask:perm 44 * other:perm 45 * default:user::perm 46 * default:user:uid:perm 47 * default:group::perm 48 * default:group:gid:perm 278 display(int perm) argument [all...] |
/illumos-gate/usr/src/common/zfs/ |
H A D | zfs_deleg.c | 72 zfs_valid_permission_name(const char *perm) argument 74 if (zfs_deleg_canonicalize_perm(perm)) 77 return (permset_namecheck(perm, NULL, NULL)); 81 zfs_deleg_canonicalize_perm(const char *perm) argument 87 if (strcmp(perm, zfs_deleg_perm_tab[i].z_perm) == 0) 88 return (perm); 91 prop = zfs_name_to_prop(perm);
|
/illumos-gate/usr/src/common/bzip2/ |
H A D | huffman.c | 172 Int32 *perm, 183 if (length[j] == i) { perm[pp] = j; pp++; }; 170 BZ2_hbCreateDecodeTables( Int32 *limit, Int32 *base, Int32 *perm, UChar *length, Int32 minLen, Int32 maxLen, Int32 alphaSize ) argument
|
/illumos-gate/usr/src/cmd/power/ |
H A D | pmconfig.h | 73 int perm; /* cpr or pm permission */ member in struct:perm_update
|
H A D | parse.c | 82 set_perm(char *defstr, char *user, int *perm, int cons) argument 101 *perm = 1; 103 *perm = cons; 112 *perm = 1; 132 cpr_status.perm = pm_status.perm = 1; 147 set_perm("PMCHANGEPERM=", user, &pm_status.perm, cons_perm); 148 set_perm("CPRCHANGEPERM=", user, &cpr_status.perm, cons_perm); 443 else if (cip->status->perm && (def_src || cip->alt)) { 450 cip->status->perm, def_sr [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | adb_openclose.c | 286 int tries, gotlock, perm, krb5_mode, ret = 0; local 294 perm = 0; 297 perm = 1; 345 if (perm) {
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | lpad.h | 48 unsigned int perm:1; member in struct:__anon10350::__anon10351 61 #define flag_perm flags.flag_bits.perm
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_phy.c | 316 uint32_t perm = 0; local 325 efx_phy_adv_cap_get(enp, EFX_PHY_CAP_PERM, &perm); 331 *mutablep = (perm & (1 << field)) ? B_TRUE : B_FALSE;
|
/illumos-gate/usr/src/lib/libresolv2/common/dst/ |
H A D | support.c | 293 * Open a file in the dst_path directory. If perm is specified, the 298 * perm File permission, if creating a new file. 304 dst_s_fopen(const char *filename, const char *mode, int perm) argument 319 if (perm) 320 chmod(pathname, perm);
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | cksum.c | 178 pr(State_t* state, Sfio_t* op, Sfio_t* ip, char* file, int perm, struct stat* st, Sfio_t* check) argument 234 if (perm >= 0) 236 if (perm)
|
H A D | cp.c | 156 int perm; /* permissions to preserve */ member in struct:State_s 575 else if ((wfd = open(state->path, st.st_mode ? (state->wflags & ~O_EXCL) : state->wflags, ent->fts_statp->st_mode & state->perm)) < 0) 638 if ((ent->fts_statp->st_mode & state->perm) != (st.st_mode & state->perm) && chmod(state->path, ent->fts_statp->st_mode & state->perm)) 639 error(ERROR_SYSTEM|2, "%s: cannot reset mode to %s", state->path, fmtmode(st.st_mode & state->perm, 0) + 1); 920 state->perm = state->uid ? S_IPERM : (S_IPERM & ~S_ISVTX);
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | list.h | 114 short perm; member in struct:elem
|
H A D | protodir.c | 87 char *type, *class, *file, *src, *maj, *min, *perm, *owner, *group; local 181 if (!(perm = strtok(NULL, FS))) { 186 e->perm = strtol(perm, NULL, 8); 221 if (e->perm != dup->perm) { 225 pkgname, e->perm, dup->name, dup->perm); 322 e->perm = p->perm; [all...] |
H A D | protocmp.c | 164 'T', "File Name", "Reloc/Sym name", "perm", "owner", "group", 308 if (check_perm && (i->perm != j->perm)) 322 char perm[12], ref_cnt[12]; local 351 perm[0] = '-'; 352 perm[1] = '\0'; 354 (void) snprintf(perm, sizeof (perm), "%o", e->perm); 366 check_sym && e->symsrc != NULL ? e->symsrc : "-", perm, 584 mode_t perm; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | srn.c | 245 srn_perms(int perm, cred_t *cr) argument 247 if ((perm & SU) && secpolicy_power_mgmt(cr) == 0) /* privileged? */ 249 if ((perm & SG) && (crgetgid(cr) == 0)) /* group 0 is ok */
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_gld.c | 604 uint_t perm; local 659 perm = (hw->phy.media_type == ixgbe_media_type_copper) ? 661 mac_prop_info_set_perm(prh, perm); 667 perm = (hw->phy.media_type == ixgbe_media_type_copper) ? 669 mac_prop_info_set_perm(prh, perm); 676 perm = (hw->phy.media_type == ixgbe_media_type_copper) ? 678 mac_prop_info_set_perm(prh, perm); 685 perm = (hw->phy.media_type == ixgbe_media_type_copper) ? 687 mac_prop_info_set_perm(prh, perm); 694 perm [all...] |
/illumos-gate/usr/src/lib/librsm/common/ |
H A D | rsmgen.c | 66 rsm_memseg_id_t segment_id, rsm_permission_t perm, 75 perm = perm; 64 __rsm_import_connect( rsmapi_controller_handle_t controller, rsm_node_id_t node_id, rsm_memseg_id_t segment_id, rsm_permission_t perm, rsm_memseg_import_handle_t *im_memseg) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | ndd.c | 148 ndd_perm2str(uint_t perm) argument 150 switch (perm) { 183 uint_t proto, perm; local 199 perm = atoi(rwtag); 208 perm = nimap->ndd_perm; 210 ndd_perm2str(perm)); 226 ndd_perm2str(perm)); 247 uint_t proto, perm = 0, flags = 0; local 267 perm = nimap->ndd_perm; 289 if (perm [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | setup.c | 639 int perm = (PROT_READ | PROT_EXEC); local 653 perm |= PROT_WRITE; 671 mpp->mr_prot = perm;
|