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

From: Arnd Bergmann

Date: Tue Jul 28 2026 - 02:49:55 EST


On Tue, Jul 28, 2026, at 04:47, André Almeida wrote:

> echo >&2 "options:"
> echo >&2 " --abis ABIS ABI(s) to handle (By default, all
> 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
and that need to stay in sync.

> +COMMON_TBL_PATH="../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