HomeFreeBSD

To reduce code duplication introduce linux_copyout_rusage() method.

Description

To reduce code duplication introduce linux_copyout_rusage() method.
Use it in linux_wait4() system call and move linux_wait4() to the MI path.
While here add a prototype for the static bsd_to_linux_rusage().

Differential Revision: https://reviews.freebsd.org/D2138
Reviewed by: trasz

Details

Provenance
dchaginAuthored on
Reviewer
trasz
Differential Revision
D2138: Linuxulator. struct rusage conversion (0).
Parents
rS283390: Add a function for converting wait options.
Branches
Unknown
Tags
Unknown