From: Andrea Cervesato via ltp <ltp@lists.linux.it>
To: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 0/4] Automatically generate syscalls.h
Date: Tue, 24 Sep 2024 10:46:20 +0200 [thread overview]
Message-ID: <ff7c5d36-e2dc-47b6-aded-64ecf649d8a3@suse.com> (raw)
In-Reply-To: <20240924-generate_syscalls-v1-0-941507a9cdac@suse.com>
Hi!
Please consider this patchset as a draft open for discussion.
Andrea
On 9/24/24 10:06, Andrea Cervesato wrote:
> The problem we have at the moment is that all syscalls input files must
> be changed by hand each time we need to test a new syscall. The idea is
> to simplify this process, providing a script that is able to read from
> kernel sources and to generate all syscalls files we need.
>
> This is done by the generate_syscalls.sh script that can be used as
> following:
>
> ./generate_syscalls.sh path/to/kernel/source path/to/syscalls.h
>
> This approach requires a certain type of attention, due to the fact that
> we need to generate syscalls.h at each kernel version, or when new
> syscalls have been added in the kernel.
>
> Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
> ---
> Andrea Cervesato (4):
> Rename syscalls order file to supported-arch.txt
> Add script to generate syscalls.h
> Deprecate old syscalls input files
> Save syscalls.h inside repo
>
> include/lapi/.gitignore | 1 -
> include/lapi/syscalls.h | 34272 +++++++++++++++++++
> include/lapi/syscalls/aarch64.in | 306 -
> include/lapi/syscalls/arc.in | 325 -
> include/lapi/syscalls/arm.in | 404 -
> include/lapi/syscalls/blacklist-syscalls.txt | 6 +
> include/lapi/syscalls/generate_syscalls.sh | 292 +
> include/lapi/syscalls/hppa.in | 52 -
> include/lapi/syscalls/i386.in | 439 -
> include/lapi/syscalls/ia64.in | 956 +-
> include/lapi/syscalls/loongarch.in | 310 -
> include/lapi/syscalls/mips_n32.in | 379 -
> include/lapi/syscalls/mips_n64.in | 355 -
> include/lapi/syscalls/mips_o32.in | 425 -
> include/lapi/syscalls/powerpc.in | 432 -
> include/lapi/syscalls/powerpc64.in | 432 -
> include/lapi/syscalls/regen.sh | 129 -
> include/lapi/syscalls/s390.in | 419 -
> include/lapi/syscalls/s390x.in | 367 -
> include/lapi/syscalls/sh.in | 413 -
> include/lapi/syscalls/sparc.in | 418 -
> include/lapi/syscalls/sparc64.in | 383 -
> include/lapi/syscalls/strip_syscall.awk | 19 -
> .../lapi/syscalls/{order => supported-arch.txt} | 1 -
> include/lapi/syscalls/x86_64.in | 396 -
> 25 files changed, 35174 insertions(+), 6757 deletions(-)
> ---
> base-commit: 968e6245d93bc91723e72086a71e6bc50f495d0b
> change-id: 20240923-generate_syscalls-780dc2227bdb
>
> Best regards,
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2024-09-24 8:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-24 8:06 [LTP] [PATCH 0/4] Automatically generate syscalls.h Andrea Cervesato
2024-09-24 8:06 ` [LTP] [PATCH 1/4] Rename syscalls order file to supported-arch.txt Andrea Cervesato
2024-09-24 8:06 ` [LTP] [PATCH 2/4] Add script to generate syscalls.h Andrea Cervesato
2024-09-24 8:06 ` [LTP] [PATCH 3/4] Deprecate old syscalls input files Andrea Cervesato
2024-09-24 8:06 ` [LTP] [PATCH 4/4] Save syscalls.h inside repo Andrea Cervesato
2024-09-24 8:46 ` Andrea Cervesato via ltp [this message]
2024-09-24 13:16 ` [LTP] [PATCH 0/4] Automatically generate syscalls.h Jan Stancek
2024-09-24 13:23 ` Andrea Cervesato via ltp
2024-09-25 20:01 ` Jan Stancek
2024-09-26 7:07 ` Andrea Cervesato via ltp
2024-09-26 7:47 ` Jan Stancek
2024-09-26 8:19 ` Andrea Cervesato via ltp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ff7c5d36-e2dc-47b6-aded-64ecf649d8a3@suse.com \
--to=ltp@lists.linux.it \
--cc=andrea.cervesato@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox