[LTP] [PATCH v2] syscalls/setrlimit06: Add new test for RLIMIT_CPU

Cyril Hrubis chrubis@suse.cz
Fri Feb 22 17:04:02 CET 2019


Hi!
Pushed with a minor change, thanks.

> +static void verify_setrlimit(void)
> +{
> +	int status;
> +	pid_t pid;
> +

Added *end = 0 here so that it's reset in a case of test looping (the -i parameter).

> +	pid = SAFE_FORK();

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list