[LTP] [PATCH v4 2/4] Add script to generate arch(s) dependant syscalls

Li Wang liwang@redhat.com
Tue Oct 15 10:12:52 CEST 2024


Andrea Cervesato <andrea.cervesato@suse.de> wrote:


> Add generate_arch.sh script which can be used to generate arch(s)
> dependant syscalls file. The way it works is pretty simple: for each
> architecture defined into supported-arch.txt, compile kernel headers,
> extract the list of syscalls and generate a .in file containing all of
> them, associated with their own syscall's number.
> The way syscalls files are generated, passes through a C application
> which is automatically checking the availability of the syscalls in
> the user space environment.
>

This is a great idea, thanks for achieving it.

Reviewed-by: Li Wang <liwang@redhat.com>



-- 
Regards,
Li Wang


More information about the ltp mailing list