[LTP] [PATCH v2 1/8] Rewrite userns01.c using new LTP API

Petr Vorel pvorel@suse.cz
Fri Mar 25 11:06:59 CET 2022


Hi Andrea,

> > > +static inline void updatemap(int cpid, bool type, int idnum, int parentmappid)
> > nit: This header should #include <stdbool.h>, not all tests (they use UID_MAP,
> > thus they don't need it).
> I think this will be replaced with integer, according also with the if/else
> statement which is below and use switch to check its value as well.

+1

Kind regards,
Petr


More information about the ltp mailing list