[LTP] [PATCH] syscalls: ulimit01; Convert to the new library
Petr Vorel
pvorel@suse.cz
Fri Mar 6 13:54:17 CET 2026
Hi Cyril,
> Linux does not implement UL_GMEMLIM, UL_GDESLIM and UL_GSHMEMLIM so we
> keep only the UL_GETFSIZE and UL_SETFSIZE.
...
LGTM, thanks for the cleanup.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
> +/*\
> + * Tests the basic functionality of ulimit() with UL_GETFSIZE and UL_SETFSIZE.
nit: Could you please change before merge ulimit() to
:manpage:`ulimit(3)`
so that we get link to https://man7.org/linux/man-pages/man3/ulimit.3.html ?
FYI kernel uses automarkup to recognise various things e.g. git hash [1].
Maybe we could employ it for git kernel commits.
But for man page it can have false positives [2].
[1] https://lore.kernel.org/linux-doc/87a4ydo1hf.fsf@trenco.lwn.net/
[2] https://lore.kernel.org/linux-doc/aWqg5XwPRXlzq4FI@devuan/
Kind regards,
Petr
More information about the ltp
mailing list