Lines Matching refs: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);
225 const struct acl *aclp) in vacl_set_acl() argument
233 error = acl_copyin(aclp, inkernelacl, type); in vacl_set_acl()
263 struct acl *aclp) in vacl_get_acl() argument
285 error = acl_copyout(inkernelacl, aclp, type); in vacl_get_acl()
326 const struct acl *aclp) in vacl_aclcheck() argument
332 error = acl_copyin(aclp, inkernelacl, type); in vacl_aclcheck()
354 return (kern___acl_get_path(td, uap->path, uap->type, uap->aclp, in sys___acl_get_file()
365 return(kern___acl_get_path(td, uap->path, uap->type, uap->aclp, in sys___acl_get_link()
371 struct acl *aclp, int follow) in kern___acl_get_path() argument
379 error = vacl_get_acl(td, nd.ni_vp, type, aclp); in kern___acl_get_path()
393 return(kern___acl_set_path(td, uap->path, uap->type, uap->aclp, in sys___acl_set_file()
404 return(kern___acl_set_path(td, uap->path, uap->type, uap->aclp, in sys___acl_set_link()
410 acl_type_t type, const struct acl *aclp, int follow) in kern___acl_set_path() argument
418 error = vacl_set_acl(td, nd.ni_vp, type, aclp); in kern___acl_set_path()
439 error = vacl_get_acl(td, fp->f_vnode, uap->type, uap->aclp); in sys___acl_get_fd()
459 error = vacl_set_acl(td, fp->f_vnode, uap->type, uap->aclp); in sys___acl_set_fd()
529 return (kern___acl_aclcheck_path(td, uap->path, uap->type, uap->aclp, in sys___acl_aclcheck_file()
539 return (kern___acl_aclcheck_path(td, uap->path, uap->type, uap->aclp, in sys___acl_aclcheck_link()
545 struct acl *aclp, int follow) in kern___acl_aclcheck_path() argument
553 error = vacl_aclcheck(td, nd.ni_vp, type, aclp); in kern___acl_aclcheck_path()
574 error = vacl_aclcheck(td, fp->f_vnode, uap->type, uap->aclp); in sys___acl_aclcheck_fd()
583 struct acl *aclp; in acl_alloc() local
585 aclp = malloc(sizeof(*aclp), M_ACL, flags); in acl_alloc()
586 if (aclp == NULL) in acl_alloc()
589 aclp->acl_maxcnt = ACL_MAX_ENTRIES; in acl_alloc()
591 return (aclp); in acl_alloc()
595 acl_free(struct acl *aclp) in acl_free() argument
598 free(aclp, M_ACL); in acl_free()