| 650 | } |
| 651 | |
| 652 | int |
| 653 | linux_getrusage(struct thread *td, struct linux_getrusage_args *uap) |
| 654 | { |
| 655 | struct rusage s; |
| 656 | int error; |
| 657 | |
| 658 | error = kern_getrusage(td, uap->who, &s); |
| 659 | if (error != 0) |
| 660 | return (error); |
| 661 | if (uap->rusage != NULL) |
| 662 | error = linux_copyout_rusage(&s, uap->rusage); |
| 663 | return (error); |
| 664 | } |
| 665 | |
| 666 | int |
| 667 | linux_set_thread_area(struct thread *td, |
nothing calls this directly
no test coverage detected