[LTP] [PATCH] setreuid01.c: Rewrite using new LTP API and use TST_EXP* macros

Petr Vorel pvorel@suse.cz
Fri Dec 23 09:53:22 CET 2022


> Hello,

> Avinesh Kumar <akumar@suse.de> writes:

> > Hi,
> > I changed this simple setreuid() test to new LTP API but I think
> > this is a subset of setreuid03.c test and can be removed altogether.
> > Please share your opinion. If this should be removed, I'll post new
> > patch for that.

> Yes, I think that is reasonable.

+1. Also setreuid03.c tests as nobody, but we have no garancy setreuid01.c is
run as non-root user (it can be root or UID 1000, which has enhanced
privileges).

Kind regards,
Petr


More information about the ltp mailing list