Lines Matching refs:uap

331 sys___acl_get_file(struct thread *td, struct __acl_get_file_args *uap)
336 NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, uap->path, td);
339 error = vacl_get_acl(td, nd.ni_vp, uap->type, uap->aclp);
349 sys___acl_get_link(struct thread *td, struct __acl_get_link_args *uap)
354 NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_USERSPACE, uap->path, td);
357 error = vacl_get_acl(td, nd.ni_vp, uap->type, uap->aclp);
367 sys___acl_set_file(struct thread *td, struct __acl_set_file_args *uap)
372 NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, uap->path, td);
375 error = vacl_set_acl(td, nd.ni_vp, uap->type, uap->aclp);
385 sys___acl_set_link(struct thread *td, struct __acl_set_link_args *uap)
390 NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_USERSPACE, uap->path, td);
393 error = vacl_set_acl(td, nd.ni_vp, uap->type, uap->aclp);
403 sys___acl_get_fd(struct thread *td, struct __acl_get_fd_args *uap)
409 error = getvnode(td->td_proc->p_fd, uap->filedes,
412 error = vacl_get_acl(td, fp->f_vnode, uap->type, uap->aclp);
422 sys___acl_set_fd(struct thread *td, struct __acl_set_fd_args *uap)
428 error = getvnode(td->td_proc->p_fd, uap->filedes,
431 error = vacl_set_acl(td, fp->f_vnode, uap->type, uap->aclp);
441 sys___acl_delete_file(struct thread *td, struct __acl_delete_file_args *uap)
446 NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, uap->path, td);
449 error = vacl_delete(td, nd.ni_vp, uap->type);
459 sys___acl_delete_link(struct thread *td, struct __acl_delete_link_args *uap)
464 NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_USERSPACE, uap->path, td);
467 error = vacl_delete(td, nd.ni_vp, uap->type);
477 sys___acl_delete_fd(struct thread *td, struct __acl_delete_fd_args *uap)
483 error = getvnode(td->td_proc->p_fd, uap->filedes,
486 error = vacl_delete(td, fp->f_vnode, uap->type);
496 sys___acl_aclcheck_file(struct thread *td, struct __acl_aclcheck_file_args *uap)
501 NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, uap->path, td);
504 error = vacl_aclcheck(td, nd.ni_vp, uap->type, uap->aclp);
514 sys___acl_aclcheck_link(struct thread *td, struct __acl_aclcheck_link_args *uap)
519 NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_USERSPACE, uap->path, td);
522 error = vacl_aclcheck(td, nd.ni_vp, uap->type, uap->aclp);
532 sys___acl_aclcheck_fd(struct thread *td, struct __acl_aclcheck_fd_args *uap)
538 error = getvnode(td->td_proc->p_fd, uap->filedes,
541 error = vacl_aclcheck(td, fp->f_vnode, uap->type, uap->aclp);