Searched refs:aclentp (Results 1 - 8 of 8) sorted by relevance

/opensolaris-onvv-gate/usr/src/lib/libsec/common/
H A Daclcheck.c74 aclent_t *aclentp; local
81 for (aclentp = aclbufp; nentries > 0; nentries--, aclentp++) {
82 switch (aclentp->a_type) {
86 *which = (int)(aclentp - aclbufp);
97 *which = (int)(aclentp - aclbufp);
108 *which = (int)(aclentp - aclbufp);
119 *which = (int)(aclentp - aclbufp);
132 if (aclentp->a_type == DEF_USER) {
135 } else if (aclentp
[all...]
H A Dacltext.c800 aclent_t *aclentp; local
807 aclentp = aclp->acl_aclp;
812 return (aclentp);
/opensolaris-onvv-gate/usr/src/cmd/setfacl/
H A Dsetfacl.c543 err_handle(int cnt, aclent_t *aclentp) argument
548 rc = aclcheck(aclentp, cnt, &which);
603 parse_entry(char *fieldp, aclent_t *aclentp, int mode) argument
633 aclentp->a_type = DEF_USER;
635 aclentp->a_type = USER;
639 aclentp->a_type = DEF_GROUP;
641 aclentp->a_type = GROUP;
645 aclentp->a_type = DEF_CLASS_OBJ;
647 aclentp->a_type = CLASS_OBJ;
651 aclentp
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/ufs/
H A Dufs_acl.c716 aclent_t *aclentp; local
745 aclentp = vsap->vsa_aclentp;
748 aclentp->a_type = USER_OBJ;
749 aclentp->a_perm = ((ushort_t)(ip->i_mode & 0700)) >> 6;
750 aclentp->a_id = ip->i_uid; /* Really undefined */
751 aclentp++;
754 aclentp->a_type = GROUP_OBJ;
755 aclentp->a_perm = ((ushort_t)(ip->i_mode & 0070)) >> 3;
756 aclentp->a_id = ip->i_gid; /* Really undefined */
757 aclentp
840 acl_validate(aclent_t *aclentp, int nentries, int flag) argument
978 formacl(ufs_ic_acl_t **aclpp, aclent_t *aclentp) argument
1005 aclent_t *aclentp, *aclp; local
1129 aclent_t *aclentp; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/
H A Dfs_subr.c584 aclent_t *aclentp; local
603 aclentp = vsecattr->vsa_aclentp;
605 aclentp->a_type = USER_OBJ; /* Owner */
606 aclentp->a_perm = ((ushort_t)(vattr.va_mode & 0700)) >> 6;
607 aclentp->a_id = vattr.va_uid; /* Really undefined */
608 aclentp++;
610 aclentp->a_type = GROUP_OBJ; /* Group */
611 aclentp->a_perm = ((ushort_t)(vattr.va_mode & 0070)) >> 3;
612 aclentp->a_id = vattr.va_gid; /* Really undefined */
613 aclentp
[all...]
/opensolaris-onvv-gate/usr/src/common/acl/
H A Dacl_common.c669 convert_aent_to_ace(aclent_t *aclentp, int aclcnt, int isdir, argument
683 ksort((caddr_t)aclentp, aclcnt, sizeof (aclent_t), cmp2acls);
685 for (i = 0, aclp = aclentp; i < aclcnt; aclp++, i++) {
699 error = ln_aent_to_ace(aclentp, i, &acep, &acecnt, isdir);
704 error = ln_aent_to_ace(&aclentp[dfaclstart], dfaclcnt,
1082 ace_list_to_aent(ace_list_t *list, aclent_t **aclentp, int *aclcnt, argument
1202 *aclentp = result;
1262 aclent_t **aclentp, int *aclcnt, aclent_t **dfaclentp, int *dfaclcnt,
1272 *aclentp = NULL;
1434 error = ace_list_to_aent(normacl, aclentp, aclcn
1261 ln_ace_to_aent(ace_t *ace, int n, uid_t owner, gid_t group, aclent_t **aclentp, int *aclcnt, aclent_t **dfaclentp, int *dfaclcnt, int isdir) argument
1462 aclent_t *aclentp, *dfaclentp; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_srv.c2880 aclent_t *aclentp; local
2895 aclentp = vsa.vsa_aclentp;
2900 for (; aclcnt > 0; aclcnt--, aclentp++) {
2901 switch (aclentp->a_type) {
2906 aclentp->a_perm << 3;
2907 other_perm |= aclentp->a_perm;
2911 aclentp->a_perm << 3;
2914 other_perm |= aclentp->a_perm;
2917 other_orig = aclentp->a_perm;
2920 mask_perm = aclentp
[all...]
H A Dnfs4_acl.c1257 ace4_list_to_aent(ace4_list_t *list, aclent_t **aclentp, int *aclcnt, argument
1360 *aclentp = result;
1379 aclent_t **aclentp, int *aclcnt,
1390 *aclentp = NULL;
1561 error = ace4_list_to_aent(normacl, aclentp, aclcnt,
1377 ln_ace4_to_aent(nfsace4 *ace4, int n, uid_t owner, gid_t group, aclent_t **aclentp, int *aclcnt, aclent_t **dfaclentp, int *dfaclcnt, int isdir, int isserver) argument

Completed in 133 milliseconds