/illumos-gate/usr/src/lib/libsec/common/ |
H A D | aclmode.c | 38 acltomode(aclent_t *aclbufp, int nentries, mode_t *modep) argument 48 if (aclcheck(aclbufp, nentries, &which) != 0) { 52 for (tp = aclbufp; nentries--; tp++) { 89 aclfrommode(aclent_t *aclbufp, int nentries, mode_t *modep) argument 98 if (aclcheck(aclbufp, nentries, &which) != 0) { 102 for (tp = aclbufp; nentries--; tp++) {
|
H A D | aclsort.c | 80 aclsort(int nentries, int calcmask, aclent_t *aclbufp) argument 89 if (aclcheck(aclbufp, nentries, &which) != 0) 100 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { 110 qsort(aclbufp, nentries, sizeof (aclent_t), 113 for (tp = aclbufp, i = 0; i < nentries; tp++, i++) { 128 sortid(aclbufp, nentries, USER); 129 sortid(aclbufp, nentries, GROUP); 130 sortid(aclbufp, nentries, DEF_USER); 131 sortid(aclbufp, nentries, DEF_GROUP); 142 for (tp = aclbufp; t [all...] |
H A D | aclcheck.c | 71 aclent_aclcheck(aclent_t *aclbufp, int nentries, int *which, int isdir) argument 81 for (aclentp = aclbufp; nentries > 0; nentries--, aclentp++) { 86 *which = (int)(aclentp - aclbufp); 97 *which = (int)(aclentp - aclbufp); 108 *which = (int)(aclentp - aclbufp); 119 *which = (int)(aclentp - aclbufp); 153 *which = (int)(aclentp - aclbufp); 163 *which = (int)(aclentp - aclbufp); 174 *which = (int)(aclentp - aclbufp); 185 *which = (int)(aclentp - aclbufp); 263 aclcheck(aclent_t *aclbufp, int nentries, int *which) argument [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | acl.c | 60 static int cacl(int cmd, int nentries, void *aclbufp, 67 acl(const char *fname, int cmd, int nentries, void *aclbufp) argument 85 error = cacl(cmd, nentries, aclbufp, vp, &rv); 99 facl(int fdes, int cmd, int nentries, void *aclbufp) argument 112 error = cacl(cmd, nentries, aclbufp, fp->f_vnode, &rv); 125 cacl(int cmd, int nentries, void *aclbufp, vnode_t *vp, int *rv) argument 173 if (aclbufp == NULL) 195 uaddrp = (caddr_t)aclbufp; 223 if (aclbufp == NULL) 238 aclbufp, aclbsiz [all...] |
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_brand.c | 1138 s10_acl(sysret_t *rval, const char *fname, int cmd, int nentries, void *aclbufp) argument 1142 res = __systemcall(rval, SYS_acl + 1024, fname, cmd, nentries, aclbufp); 1155 res = make_trivial_s10_acl(fname, 0, aclbufp); 1165 s10_facl(sysret_t *rval, int fdes, int cmd, int nentries, void *aclbufp) argument 1169 res = __systemcall(rval, SYS_facl + 1024, fdes, cmd, nentries, aclbufp); 1182 res = make_trivial_s10_acl(NULL, fdes, aclbufp);
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_event.c | 5323 aclent_t *aclbufp; local 5337 if ((aclbufp = kmem_alloc(a_size, KM_SLEEP)) == NULL) 5339 if (copyin(bufp, aclbufp, a_size)) { 5340 kmem_free(aclbufp, a_size); 5344 au_uwrite(au_to_acl(aclbufp + i)); 5346 kmem_free(aclbufp, a_size); 5378 long aclbufp; member in struct:a 5384 au_acl(uap->cmd, uap->nentries, (caddr_t)uap->aclbufp); 5395 long aclbufp; member in struct:a 5424 au_acl(uap->cmd, uap->nentries, (caddr_t)uap->aclbufp); [all...] |