From 53b2bb87472138910df47b9bc6c8227e0550a23e Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 19 Oct 2018 18:03:21 +0200 Subject: resource: Update struct rusage comments [BZ #23689] --- ChangeLog | 6 ++++++ resource/bits/types/struct_rusage.h | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4f0448c708..888fcf419f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-10-19 Florian Weimer + + [BZ #23689] + * resource/bits/types/struct_rusage.h (struct rusage): Update + comment on struct. Remove extraneous field comment. + 2018-10-18 David S. Miller * sysdeps/unix/sysv/linux/sparc/init-first.c: New file. diff --git a/resource/bits/types/struct_rusage.h b/resource/bits/types/struct_rusage.h index 5dc0916aa7..5ff94296ad 100644 --- a/resource/bits/types/struct_rusage.h +++ b/resource/bits/types/struct_rusage.h @@ -22,7 +22,9 @@ #include #include -/* Structure which says how much of each resource has been used. */ +/* Structure which says how much of each resource has been used. If + the system does not keep track of a particular value, the struct + field is always zero. */ /* The purpose of all the unions is to have the kernel-compatible layout while keeping the API type as 'long int', and among machines where @@ -42,7 +44,6 @@ struct rusage }; /* Amount of sharing of text segment memory with other processes (kilobyte-seconds). */ - /* Maximum resident set size (in kilobytes). */ __extension__ union { long int ru_ixrss; -- cgit 1.4.1