[LTP] [PATCH v2 1/1] setgroups03: Fix running more iterations (-i 2)

Cyril Hrubis chrubis@suse.cz
Wed Oct 6 15:20:56 CEST 2021


Hi!
> +	ltpuser = SAFE_GETPWNAM(cleanup, uid);
> +	SAFE_SETEUID(cleanup, ltpuser->pw_uid);

Can we please push the GETPWNAM() to the test setup and pass only uid to
the test setup functions?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list