Home
last modified time | relevance | path

Searched refs:aclbufp (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/lib/libsec/common/
H A Daclsort.c80 aclsort(int nentries, int calcmask, aclent_t *aclbufp) in aclsort() argument
89 if (aclcheck(aclbufp, nentries, &which) != 0) in aclsort()
100 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { in aclsort()
110 qsort(aclbufp, nentries, sizeof (aclent_t), in aclsort()
113 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { in aclsort()
128 sortid(aclbufp, nentries, USER); in aclsort()
129 sortid(aclbufp, nentries, GROUP); in aclsort()
130 sortid(aclbufp, nentries, DEF_USER); in aclsort()
131 sortid(aclbufp, nentries, DEF_GROUP); in aclsort()
142 for (tp = aclbufp; tp->a_type != OTHER_OBJ; tp++) { in aclsort()
H A Daclcheck.c71 aclent_aclcheck(aclent_t *aclbufp, int nentries, int *which, int isdir) in aclent_aclcheck() argument
81 for (aclentp = aclbufp; nentries > 0; nentries--, aclentp++) { in aclent_aclcheck()
86 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
97 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
108 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
119 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
153 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
163 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
174 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
185 *which = (int)(aclentp - aclbufp); in aclent_aclcheck()
[all …]
H A Daclmode.c38 acltomode(aclent_t *aclbufp, int nentries, mode_t *modep) in acltomode() argument
48 if (aclcheck(aclbufp, nentries, &which) != 0) { in acltomode()
52 for (tp = aclbufp; nentries--; tp++) { in acltomode()
89 aclfrommode(aclent_t *aclbufp, int nentries, mode_t *modep) in aclfrommode() argument
98 if (aclcheck(aclbufp, nentries, &which) != 0) { in aclfrommode()
102 for (tp = aclbufp; nentries--; tp++) { in aclfrommode()
/titanic_50/usr/src/uts/common/syscall/
H A Dacl.c60 static int cacl(int cmd, int nentries, void *aclbufp,
67 acl(const char *fname, int cmd, int nentries, void *aclbufp) in acl() argument
85 error = cacl(cmd, nentries, aclbufp, vp, &rv); in acl()
99 facl(int fdes, int cmd, int nentries, void *aclbufp) in facl() argument
112 error = cacl(cmd, nentries, aclbufp, fp->f_vnode, &rv); in facl()
125 cacl(int cmd, int nentries, void *aclbufp, vnode_t *vp, int *rv) in cacl() argument
173 if (aclbufp == NULL) in cacl()
195 uaddrp = (caddr_t)aclbufp; in cacl()
223 if (aclbufp == NULL) in cacl()
238 aclbufp, aclbsize)) != 0) { in cacl()
[all …]
/titanic_50/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c1137 s10_acl(sysret_t *rval, const char *fname, int cmd, int nentries, void *aclbufp) in s10_acl() argument
1141 res = __systemcall(rval, SYS_acl + 1024, fname, cmd, nentries, aclbufp); in s10_acl()
1154 res = make_trivial_s10_acl(fname, 0, aclbufp); in s10_acl()
1164 s10_facl(sysret_t *rval, int fdes, int cmd, int nentries, void *aclbufp) in s10_facl() argument
1168 res = __systemcall(rval, SYS_facl + 1024, fdes, cmd, nentries, aclbufp); in s10_facl()
1181 res = make_trivial_s10_acl(NULL, fdes, aclbufp); in s10_facl()
/titanic_50/usr/src/uts/common/c2/
H A Daudit_event.c5320 aclent_t *aclbufp; in au_acl() local
5334 if ((aclbufp = kmem_alloc(a_size, KM_SLEEP)) == NULL) in au_acl()
5336 if (copyin(bufp, aclbufp, a_size)) { in au_acl()
5337 kmem_free(aclbufp, a_size); in au_acl()
5341 au_uwrite(au_to_acl(aclbufp + i)); in au_acl()
5343 kmem_free(aclbufp, a_size); in au_acl()
5375 long aclbufp; in aus_acl() member
5381 au_acl(uap->cmd, uap->nentries, (caddr_t)uap->aclbufp); in aus_acl()
5392 long aclbufp; in aus_facl() member
5421 au_acl(uap->cmd, uap->nentries, (caddr_t)uap->aclbufp); in aus_facl()