Lines Matching refs:uap

101 sys_cap_enter(struct thread *td, struct cap_enter_args *uap)  in sys_cap_enter()  argument
124 sys_cap_getmode(struct thread *td, struct cap_getmode_args *uap) in sys_cap_getmode() argument
129 return (copyout(&i, uap->modep, sizeof(i))); in sys_cap_getmode()
135 sys_cap_enter(struct thread *td, struct cap_enter_args *uap) in sys_cap_enter() argument
142 sys_cap_getmode(struct thread *td, struct cap_getmode_args *uap) in sys_cap_getmode() argument
267 sys_cap_rights_limit(struct thread *td, struct cap_rights_limit_args *uap) in sys_cap_rights_limit() argument
274 error = copyin(uap->rightsp, &rights, sizeof(rights.cr_rights[0])); in sys_cap_rights_limit()
281 error = copyin(uap->rightsp, &rights, in sys_cap_rights_limit()
301 AUDIT_ARG_FD(uap->fd); in sys_cap_rights_limit()
303 return (kern_cap_rights_limit(td, uap->fd, &rights)); in sys_cap_rights_limit()
310 sys___cap_rights_get(struct thread *td, struct __cap_rights_get_args *uap) in sys___cap_rights_get() argument
316 if (uap->version != CAP_RIGHTS_VERSION_00) in sys___cap_rights_get()
319 fd = uap->fd; in sys___cap_rights_get()
331 n = uap->version + 2; in sys___cap_rights_get()
332 if (uap->version != CAPVER(&rights)) { in sys___cap_rights_get()
343 error = copyout(&rights, uap->rightsp, sizeof(rights.cr_rights[0]) * n); in sys___cap_rights_get()
459 sys_cap_ioctls_limit(struct thread *td, struct cap_ioctls_limit_args *uap) in sys_cap_ioctls_limit() argument
465 ncmds = uap->ncmds; in sys_cap_ioctls_limit()
474 error = copyin(uap->cmds, cmds, sizeof(cmds[0]) * ncmds); in sys_cap_ioctls_limit()
481 return (kern_cap_ioctls_limit(td, uap->fd, cmds, ncmds)); in sys_cap_ioctls_limit()
485 sys_cap_ioctls_get(struct thread *td, struct cap_ioctls_get_args *uap) in sys_cap_ioctls_get() argument
494 fd = uap->fd; in sys_cap_ioctls_get()
495 dstcmds = uap->cmds; in sys_cap_ioctls_get()
496 maxcmds = uap->maxcmds; in sys_cap_ioctls_get()
574 sys_cap_fcntls_limit(struct thread *td, struct cap_fcntls_limit_args *uap) in sys_cap_fcntls_limit() argument
581 fd = uap->fd; in sys_cap_fcntls_limit()
582 fcntlrights = uap->fcntlrights; in sys_cap_fcntls_limit()
613 sys_cap_fcntls_get(struct thread *td, struct cap_fcntls_get_args *uap) in sys_cap_fcntls_get() argument
620 fd = uap->fd; in sys_cap_fcntls_get()
634 return (copyout(&rights, uap->fcntlrightsp, sizeof(rights))); in sys_cap_fcntls_get()
645 sys_cap_rights_limit(struct thread *td, struct cap_rights_limit_args *uap) in sys_cap_rights_limit() argument
652 sys___cap_rights_get(struct thread *td, struct __cap_rights_get_args *uap) in sys___cap_rights_get() argument
659 sys_cap_ioctls_limit(struct thread *td, struct cap_ioctls_limit_args *uap) in sys_cap_ioctls_limit() argument
666 sys_cap_ioctls_get(struct thread *td, struct cap_ioctls_get_args *uap) in sys_cap_ioctls_get() argument
673 sys_cap_fcntls_limit(struct thread *td, struct cap_fcntls_limit_args *uap) in sys_cap_fcntls_limit() argument
680 sys_cap_fcntls_get(struct thread *td, struct cap_fcntls_get_args *uap) in sys_cap_fcntls_get() argument