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

Petr Vorel pvorel@suse.cz
Wed Oct 6 20:44:44 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?
Ah, sure, sorry for overlooking obvious improvement.

Kind regards,
Petr


More information about the ltp mailing list