[LTP] [PATCH v2] getrlimit/getrlimit03: new test for underlying syscall variants

Jan Stancek jstancek@redhat.com
Fri Nov 9 12:34:46 CET 2018

----- Original Message -----
> Depending on the architecture, Linux provides up to three syscalls that
> have been used to implement getrlimit(2) in different libc
> implementations.  These syscalls differ in the size and signedness of
> rlim_t.
> This test compares the results returned by all three syscalls, confirming
> that they either match or were appropriately capped at the respective
> RLIM_INFINITY constant.
> Signed-off-by: Greg Hackmann <ghackmann@google.com>

Looks good to me, worked fine across number of old/new RHEL distros.


More information about the ltp mailing list