Lines Matching defs:pxace

1603 		ACE_FLAGS flags, const struct POSIX_ACE *pxace,
1622 tag = pxace->tag;
1623 perms = pxace->perms;
1635 if (pxace->id) {
1637 pxace->id, (SID*)&defsid);
1765 ACE_FLAGS flags, const struct POSIX_ACE *pxace,
1781 tag = pxace->tag;
1782 perms = pxace->perms;
1791 if (pxace->id) {
1793 pxace->id, (SID*)&defsid);
1846 ACE_FLAGS flags, const struct POSIX_ACE *pxace,
1866 tag = pxace->tag;
1867 perms = pxace->perms;
1877 if (pxace->id)
1879 pxace->id, (SID*)&defsid);
2109 const struct POSIX_ACE *pxace;
2174 pxace = &pxdesc->acl.ace[i + pxdesc->firstdef - pxdesc->acccnt];
2177 pxace = &pxdesc->acl.ace[i];
2179 switch (pxace->tag) {
2182 if (pxace->id) {
2184 pxace->id, (SID*)&defsid);
2186 pset->selfuserperms |= pxace->perms;
2193 if (pxace->id) {
2195 pxace->id, (SID*)&defsid);
2197 pset->selfgrpperms |= pxace->perms;
2203 pset->grpperms |= pxace->perms;
2206 pset->othperms = pxace->perms;
2210 pset->mask = pxace->perms;
2232 pxace = &pxdesc->acl.ace[i + pxdesc->firstdef - pxdesc->acccnt];
2240 pxace = &pxdesc->acl.ace[i];
2242 tag = pxace->tag;
2243 perms = pxace->perms;
2252 usid, mapping, flags, pxace, pset);
2292 pxace = &pxdesc->acl.ace[i + pxdesc->firstdef - pxdesc->acccnt];
2300 pxace = &pxdesc->acl.ace[i];
2302 tag = pxace->tag;
2303 perms = pxace->perms;
2311 mapping,flags,pxace,pset);
2322 mapping,flags,pxace,pset);
2331 mapping,flags,pxace,pset);
3043 struct POSIX_ACE *pxace;
3059 pxace = posix_desc->acl.ace;
3064 if (pxace[j].perms & POSIX_PERM_DENIAL) {
3066 if ((pxace[j].tag == POSIX_ACL_OTHER)
3068 denywrld = pxace[j].perms;
3070 switch (pxace[j].tag) {
3072 grantgrps |= pxace[j].perms;
3075 if (pxace[j].id)
3076 grantgrps |= pxace[j].perms;
3079 grantwrld = pxace[j].perms;
3094 tag = pxace[j].tag;
3095 id = pxace[j].id;
3096 if (pxace[j].perms & POSIX_PERM_DENIAL) {
3097 deny = pxace[j].perms | denywrld;
3101 allow = pxace[j].perms;
3105 && (pxace[j].tag == tag)
3106 && (pxace[j].id == id)) {
3107 if (pxace[j].perms & POSIX_PERM_DENIAL)
3108 deny |= pxace[j].perms;
3110 allow |= pxace[j].perms;
3153 pxace[k].tag = tag;
3154 pxace[k].id = id;
3155 pxace[k].perms = perms
3368 struct POSIX_ACE *pxace;
3376 pxace = posix_desc->acl.ace;
3384 if (pxace[j].perms & POSIX_PERM_DENIAL) {
3386 if ((pxace[j].tag == POSIX_ACL_OTHER)
3388 denywrld = pxace[j].perms;
3401 tag = pxace[j].tag;
3402 id = pxace[j].id;
3404 deny = pxace[j].perms;
3407 && (pxace[j].tag == POSIX_ACL_MASK))
3410 if (!(pxace[j].perms & POSIX_PERM_DENIAL))
3411 allow = pxace[j].perms;
3414 && (pxace[j].tag == tag)
3415 && (pxace[j].id == id)) {
3416 if (!(pxace[j].perms & POSIX_PERM_DENIAL))
3417 allow |= pxace[j].perms;
3430 pxace[k].tag = tag;
3431 pxace[k].id = id;
3432 pxace[k].perms = perms
3677 struct POSIX_ACE *pxace;
3744 pxace = &pxdesc->acl.ace[l - 1];
3747 pxace = &pxdesc->acl.ace[k];
3757 pxace->tag = (pace->mask & ROOT_OWNER_UNMARK ? POSIX_ACL_GROUP : POSIX_ACL_USER);
3758 pxace->id = 0;
3764 pxace->id = -1;
3775 pxace->tag = POSIX_ACL_GROUP_OBJ;
3776 pxace->id = -1;
3782 pxace->tag = POSIX_ACL_GROUP;
3783 pxace->id = gid;
3788 pxace->tag = POSIX_ACL_USER;
3789 pxace->id = uid;
3801 pxace->tag = POSIX_ACL_MASK;
3810 pxace->id = uid;
3811 pxace->tag = POSIX_ACL_USER;
3813 pxace->tag = POSIX_ACL_USER_OBJ;
3835 pxace->tag = POSIX_ACL_MASK;
3836 pxace->id = -1;
3843 pxace->id = gid;
3844 pxace->tag = POSIX_ACL_GROUP;
3849 pxace->id = -1;
3850 pxace->tag = POSIX_ACL_GROUP_OBJ;
3866 pxace->id = -1;
3867 pxace->tag = POSIX_ACL_OTHER;
3872 pxace->id = -1;
3873 pxace->tag = POSIX_ACL_SPECIAL;
3880 pxace->id = -1;
3881 pxace->tag = POSIX_ACL_MASK;
3883 pxace->id = uid;
3884 pxace->tag = POSIX_ACL_USER;
3893 pxace->tag = POSIX_ACL_MASK;
3896 pxace->tag = POSIX_ACL_GROUP;
3898 pxace->id = gid;
3913 pxace->perms = 0;
3915 if (pxace->tag == POSIX_ACL_SPECIAL) {
3917 pxace->perms |= S_ISUID;
3919 pxace->perms |= S_ISGID;
3921 pxace->perms |= S_ISVTX;
3925 pxace->perms |= POSIX_PERM_X;
3927 pxace->perms |= POSIX_PERM_W;
3929 pxace->perms |= POSIX_PERM_R;
3932 pxace->perms |= POSIX_PERM_X
3937 pxace->perms |= POSIX_PERM_X;
3939 pxace->perms |= POSIX_PERM_W;
3941 pxace->perms |= POSIX_PERM_R;
3945 pxace->perms |= POSIX_PERM_DENIAL;
3947 if (pxace->tag == POSIX_ACL_OTHER)
3948 pctx->permswrld |= pxace->perms;
3949 pctx->tagsset |= pxace->tag;
3965 pxace = &pxdesc->acl.ace[--l];
3967 pxace = &pxdesc->acl.ace[k++];
3968 pxace->tag = POSIX_ACL_OTHER;
3969 pxace->id = -1;
3970 pxace->perms = 0;
3984 pxace = &pxdesc->acl.ace[--l];
3986 pxace = &pxdesc->acl.ace[k++];
3987 pxace->tag = POSIX_ACL_USER_OBJ;
3988 pxace->id = -1;
3989 pxace->perms = POSIX_PERM_R | POSIX_PERM_W | POSIX_PERM_X;
3999 pxace = &pxdesc->acl.ace[--l];
4001 pxace = &pxdesc->acl.ace[k++];
4002 pxace->tag = POSIX_ACL_GROUP_OBJ;
4003 pxace->id = -1;
4004 pxace->perms = ctx[i].permswrld;
4018 pxace = &pxdesc->acl.ace[k];
4019 pxace->tag = POSIX_ACL_GROUP;
4020 pxace->id = pxdesc->acl.ace[j].id;
4021 pxace->perms = ctx[0].permswrld;
4036 pxace = &pxdesc->acl.ace[l - 1];
4037 pxace->tag = POSIX_ACL_GROUP;
4038 pxace->id = pxdesc->acl.ace[j].id;
4039 pxace->perms = ctx[1].permswrld;
4057 pxace = &pxdesc->acl.ace[--l];
4059 pxace = &pxdesc->acl.ace[k++];
4060 pxace->tag = POSIX_ACL_MASK;
4061 pxace->id = -1;
4062 pxace->perms = POSIX_PERM_DENIAL;