Lines Matching defs:uap

164 sys___mac_get_pid(struct thread *td, struct __mac_get_pid_args *uap)
172 error = mac_label_copyin(uap->mac_p, &mac, &u_buffer);
176 tproc = pfind(uap->pid);
204 sys___mac_get_proc(struct thread *td, struct __mac_get_proc_args *uap)
210 error = mac_label_copyin(uap->mac_p, &mac, &u_buffer);
307 sys___mac_set_proc(struct thread *td, struct __mac_set_proc_args *uap)
315 error = mac_label_copyin(uap->mac_p, &mac, NULL);
349 sys___mac_get_fd(struct thread *td, struct __mac_get_fd_args *uap)
361 error = mac_label_copyin(uap->mac_p, &mac, &u_buffer);
366 error = fget(td, uap->fd, cap_rights_init_one(&rights, CAP_MAC_GET),
432 sys___mac_get_file(struct thread *td, struct __mac_get_file_args *uap)
435 return (kern___mac_get_path(td, uap->path_p, uap->mac_p, FOLLOW));
439 sys___mac_get_link(struct thread *td, struct __mac_get_link_args *uap)
442 return (kern___mac_get_path(td, uap->path_p, uap->mac_p, NOFOLLOW));
487 sys___mac_set_fd(struct thread *td, struct __mac_set_fd_args *uap)
499 error = mac_label_copyin(uap->mac_p, &mac, NULL);
503 error = fget(td, uap->fd, cap_rights_init_one(&rights, CAP_MAC_SET),
577 sys___mac_set_file(struct thread *td, struct __mac_set_file_args *uap)
580 return (kern___mac_set_path(td, uap->path_p, uap->mac_p, FOLLOW));
584 sys___mac_set_link(struct thread *td, struct __mac_set_link_args *uap)
587 return (kern___mac_set_path(td, uap->path_p, uap->mac_p, NOFOLLOW));
631 sys_mac_syscall(struct thread *td, struct mac_syscall_args *uap)
637 error = copyinstr(uap->policy, target, sizeof(target), NULL);
646 uap->call, uap->arg);
657 uap->call, uap->arg);
670 sys___mac_get_pid(struct thread *td, struct __mac_get_pid_args *uap)
677 sys___mac_get_proc(struct thread *td, struct __mac_get_proc_args *uap)
684 sys___mac_set_proc(struct thread *td, struct __mac_set_proc_args *uap)
691 sys___mac_get_fd(struct thread *td, struct __mac_get_fd_args *uap)
698 sys___mac_get_file(struct thread *td, struct __mac_get_file_args *uap)
705 sys___mac_get_link(struct thread *td, struct __mac_get_link_args *uap)
712 sys___mac_set_fd(struct thread *td, struct __mac_set_fd_args *uap)
719 sys___mac_set_file(struct thread *td, struct __mac_set_file_args *uap)
726 sys___mac_set_link(struct thread *td, struct __mac_set_link_args *uap)
733 sys_mac_syscall(struct thread *td, struct mac_syscall_args *uap)