Lines Matching refs:uap
82 sys___mac_get_pid(struct thread *td, struct __mac_get_pid_args *uap) in sys___mac_get_pid() argument
90 error = copyin(uap->mac_p, &mac, sizeof(mac)); in sys___mac_get_pid()
98 tproc = pfind(uap->pid); in sys___mac_get_pid()
131 sys___mac_get_proc(struct thread *td, struct __mac_get_proc_args *uap) in sys___mac_get_proc() argument
137 error = copyin(uap->mac_p, &mac, sizeof(mac)); in sys___mac_get_proc()
164 sys___mac_set_proc(struct thread *td, struct __mac_set_proc_args *uap) in sys___mac_set_proc() argument
176 error = copyin(uap->mac_p, &mac, sizeof(mac)); in sys___mac_set_proc()
225 sys___mac_get_fd(struct thread *td, struct __mac_get_fd_args *uap) in sys___mac_get_fd() argument
237 error = copyin(uap->mac_p, &mac, sizeof(mac)); in sys___mac_get_fd()
253 error = fget(td, uap->fd, cap_rights_init_one(&rights, CAP_MAC_GET), in sys___mac_get_fd()
319 sys___mac_get_file(struct thread *td, struct __mac_get_file_args *uap) in sys___mac_get_file() argument
322 return (kern___mac_get_path(td, uap->path_p, uap->mac_p, FOLLOW)); in sys___mac_get_file()
326 sys___mac_get_link(struct thread *td, struct __mac_get_link_args *uap) in sys___mac_get_link() argument
329 return (kern___mac_get_path(td, uap->path_p, uap->mac_p, NOFOLLOW)); in sys___mac_get_link()
385 sys___mac_set_fd(struct thread *td, struct __mac_set_fd_args *uap) in sys___mac_set_fd() argument
398 error = copyin(uap->mac_p, &mac, sizeof(mac)); in sys___mac_set_fd()
413 error = fget(td, uap->fd, cap_rights_init_one(&rights, CAP_MAC_SET), in sys___mac_set_fd()
487 sys___mac_set_file(struct thread *td, struct __mac_set_file_args *uap) in sys___mac_set_file() argument
490 return (kern___mac_set_path(td, uap->path_p, uap->mac_p, FOLLOW)); in sys___mac_set_file()
494 sys___mac_set_link(struct thread *td, struct __mac_set_link_args *uap) in sys___mac_set_link() argument
497 return (kern___mac_set_path(td, uap->path_p, uap->mac_p, NOFOLLOW)); in sys___mac_set_link()
553 sys_mac_syscall(struct thread *td, struct mac_syscall_args *uap) in sys_mac_syscall() argument
559 error = copyinstr(uap->policy, target, sizeof(target), NULL); in sys_mac_syscall()
568 uap->call, uap->arg); in sys_mac_syscall()
579 uap->call, uap->arg); in sys_mac_syscall()
592 sys___mac_get_pid(struct thread *td, struct __mac_get_pid_args *uap) in sys___mac_get_pid() argument
599 sys___mac_get_proc(struct thread *td, struct __mac_get_proc_args *uap) in sys___mac_get_proc() argument
606 sys___mac_set_proc(struct thread *td, struct __mac_set_proc_args *uap) in sys___mac_set_proc() argument
613 sys___mac_get_fd(struct thread *td, struct __mac_get_fd_args *uap) in sys___mac_get_fd() argument
620 sys___mac_get_file(struct thread *td, struct __mac_get_file_args *uap) in sys___mac_get_file() argument
627 sys___mac_get_link(struct thread *td, struct __mac_get_link_args *uap) in sys___mac_get_link() argument
634 sys___mac_set_fd(struct thread *td, struct __mac_set_fd_args *uap) in sys___mac_set_fd() argument
641 sys___mac_set_file(struct thread *td, struct __mac_set_file_args *uap) in sys___mac_set_file() argument
648 sys___mac_set_link(struct thread *td, struct __mac_set_link_args *uap) in sys___mac_set_link() argument
655 sys_mac_syscall(struct thread *td, struct mac_syscall_args *uap) in sys_mac_syscall() argument