[LTP] [PATCH v5 1/3] syscalls/modify_ldt: Add lapi/ldt.h

Petr Vorel pvorel@suse.cz
Tue Apr 1 12:21:32 CEST 2025


Hi Andrea,

> Hi Petr,

> On 4/1/25 10:48, Petr Vorel wrote:
> > nit: IMHO modify_ldt() is not used anywhere outside lapi file, right?
> > I would also consider instead of creating modify_ldt() just put raw syscall:

> > 	rval = tst_syscall(__NR_modify_ldt, func, &ptr, bytecount);

> Just yesterday I got a review from @Cyril asking me to add syscalls function
> definition which are missing inside the lapi/.h header. The reason is that
> we want to fallback libc and eventually check for HAVE_FUNCT_* via
> autotools.

> In general I agree with this approach.

OK, no problem, thanks for info.

Kind regards,
Petr

> Kind regards,
> Andrea Cervesato



More information about the ltp mailing list