Re: getrusage(RUSAGE_BOTH)
From: Cyrill Gorcunov
Date: Sat Jan 18 2020 - 12:17:16 EST
On Sat, Jan 18, 2020 at 05:48:20PM +0100, Rasmus Villemoes wrote:
...
>
> If RUSAGE_BOTH is not supposed to be used, perhaps it should be removed
> from the uapi header?
Hi Rasmus! I don't remember from scratch the RUSAGE_BOTH context
(out of sources right now), but dropping it from uapi is definitely
a wrong way -- since it is used inside kernel we should consider
it as reserved value thus it should better live in uapi.