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