Re: [RFC PATCH] Add script to add/remove/rename/renumber syscalls and resolve conflicts

From: Linus Torvalds
Date: Tue Jun 11 2019 - 22:23:17 EST


On Tue, Jun 11, 2019 at 3:27 AM David Howells <dhowells@xxxxxxxxxx> wrote:
>
> Add a script that simplifies the process of altering system call tables in
> the kernel sources. It has five functions available:

Ugh, I hate it.

I'm sure the script is all kinds of clever and useful, but I really
think the solution is not this kind of helper script, but simply that
we should work at not having each architecture add new system calls
individually in the first place.

IOW, we should look at having just one unified table for new system
call numbers, and aim for the per-architecture ones to be for "legacy
numbering".

Maybe that won't happen, but in the _hope_ that it happens, I really
would prefer that people not work at making scripts for the current
nasty situation.

Linus