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

Petr Vorel pvorel@suse.cz
Tue Nov 27 18:41:56 CET 2018


Hi Greg,

> 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>
> ---

Thanks for your patch, pushed with minor GPL related change (replaced GPL text
with SPDX-License-Identifier).


Kind regards,
Petr


More information about the ltp mailing list