Lines Matching defs:aclp
67 acl_type_t type, struct acl *aclp, int follow);
71 acl_type_t type, struct acl *aclp, int follow);
73 acl_type_t type, const struct acl *aclp, int follow);
75 acl_type_t type, const struct acl *aclp);
77 acl_type_t type, struct acl *aclp);
79 acl_type_t type, const struct acl *aclp);
215 * (unlocked). The aclp pointer is assumed still to point to userland, so
225 const struct acl *aclp)
233 error = acl_copyin(aclp, inkernelacl, type);
263 struct acl *aclp)
285 error = acl_copyout(inkernelacl, aclp, type);
326 const struct acl *aclp)
332 error = acl_copyin(aclp, inkernelacl, type);
354 return (kern___acl_get_path(td, uap->path, uap->type, uap->aclp,
365 return(kern___acl_get_path(td, uap->path, uap->type, uap->aclp,
371 struct acl *aclp, int follow)
379 error = vacl_get_acl(td, nd.ni_vp, type, aclp);
393 return(kern___acl_set_path(td, uap->path, uap->type, uap->aclp,
404 return(kern___acl_set_path(td, uap->path, uap->type, uap->aclp,
410 acl_type_t type, const struct acl *aclp, int follow)
418 error = vacl_set_acl(td, nd.ni_vp, type, aclp);
439 error = vacl_get_acl(td, fp->f_vnode, uap->type, uap->aclp);
459 error = vacl_set_acl(td, fp->f_vnode, uap->type, uap->aclp);
529 return (kern___acl_aclcheck_path(td, uap->path, uap->type, uap->aclp,
539 return (kern___acl_aclcheck_path(td, uap->path, uap->type, uap->aclp,
545 struct acl *aclp, int follow)
553 error = vacl_aclcheck(td, nd.ni_vp, type, aclp);
573 error = vacl_aclcheck(td, fp->f_vnode, uap->type, uap->aclp);
582 struct acl *aclp;
584 aclp = malloc(sizeof(*aclp), M_ACL, flags);
585 if (aclp == NULL)
588 aclp->acl_maxcnt = ACL_MAX_ENTRIES;
590 return (aclp);
594 acl_free(struct acl *aclp)
597 free(aclp, M_ACL);