Re: [PATCH RFC v2 1/4] syscalls: Create unified partial table for all archs

"Arnd Bergmann" <[email protected]> Tue, 28 Jul 2026 08:47:12 +0200
Newsgroups org.kernel.vger.linux-kbuild,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Tue, Jul 28, 2026, at 04:47, Andr=C3=A9 Almeida wrote:

>  	echo >&2 "options:"
>  	echo >&2 "  --abis ABIS        ABI(s) to handle (By default, all=20
> lines are handled)"
> +	echo >&2 "  --common-tbl       Use the common syscall number table"
> +	echo >&2 "  --no-compat        Don't generated the compat version"
>  	exit 1

You don't explain what the --no-compat flag is good for.

I would hope we can avoid adding even more flags here since
there may be other (external) scripts that process the same data=20
and that need to stay in sync.

> +COMMON_TBL_PATH=3D"../scripts/syscall_common.tbl"

Hardcoding the path here means the script can no longer work
outside of the kernel tree.  Maybe you can you combine this with
the --common-tbl argument to pass the file name?

     Arnd