[LTP] [PATCH v5 1/3] syscalls/modify_ldt: Add lapi/ldt.h
Andrea Cervesato
andrea.cervesato@suse.com
Tue Apr 1 10:56:25 CEST 2025
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.
Kind regards,
Andrea Cervesato
More information about the ltp
mailing list