Linux userland API discussions
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Jason A . Donenfeld" <Jason@zx2c4.com>,
	linux-kernel@vger.kernel.org, patches@lists.linux.dev,
	"Thomas Gleixner" <tglx@linutronix.de>
Cc: linux-crypto@vger.kernel.org, linux-api@vger.kernel.org,
	x86@kernel.org, "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Adhemerval Zanella Netto" <adhemerval.zanella@linaro.org>,
	"Carlos O'Donell" <carlos@redhat.com>,
	"Florian Weimer" <fweimer@redhat.com>,
	"Jann Horn" <jannh@google.com>,
	"Christian Brauner" <brauner@kernel.org>,
	"David Hildenbrand" <dhildenb@redhat.com>,
	"Geert Uytterhoeven" <geert@linux-m68k.org>,
	"Christian Göttsche" <cgzones@googlemail.com>,
	"Jiri Olsa" <jolsa@kernel.org>
Subject: Re: [PATCH v20 3/5] arch: allocate vgetrandom_alloc() syscall number
Date: Wed, 03 Jul 2024 20:58:59 +0200	[thread overview]
Message-ID: <fa6eb1f8-b681-4c3f-bf5f-4ca19da78b17@app.fastmail.com> (raw)
In-Reply-To: <20240703183115.1075219-4-Jason@zx2c4.com>

On Wed, Jul 3, 2024, at 20:31, Jason A. Donenfeld wrote:
> Add vgetrandom_alloc() as syscall 463 (or 573 on alpha) by adding it to
> all of the various syscall.tbl and unistd.h files.
>
> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>

I checked that the system calls are all hooked up correctly
across all architectures:

Acked-by: Arnd Bergmann <arnd@arndb.de>

Unfortunately we now have three syscalls scheduled for
the number 463, the other ones being uretprobe (only
for arc, arm64, csky, hexagon, loongarch, nios2, openrisc,
riscv and x86 for some reason) and setxattrat (on
all architectures).

It would be nice if you could all coordinate on this to
pick unique numbers.

       Arnd

  reply	other threads:[~2024-07-03 18:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-03 18:31 [PATCH v20 0/5] implement getrandom() in vDSO Jason A. Donenfeld
2024-07-03 18:31 ` [PATCH v20 1/5] mm: add VM_DROPPABLE for designating always lazily freeable mappings Jason A. Donenfeld
2024-07-03 18:31 ` [PATCH v20 2/5] random: add vgetrandom_alloc() syscall Jason A. Donenfeld
2024-07-03 18:31 ` [PATCH v20 3/5] arch: allocate vgetrandom_alloc() syscall number Jason A. Donenfeld
2024-07-03 18:58   ` Arnd Bergmann [this message]
2024-07-03 19:04     ` Jason A. Donenfeld
2024-07-03 18:31 ` [PATCH v20 4/5] random: introduce generic vDSO getrandom() implementation Jason A. Donenfeld
2024-07-03 18:31 ` [PATCH v20 5/5] x86: vdso: Wire up getrandom() vDSO implementation Jason A. Donenfeld

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=fa6eb1f8-b681-4c3f-bf5f-4ca19da78b17@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=Jason@zx2c4.com \
    --cc=adhemerval.zanella@linaro.org \
    --cc=brauner@kernel.org \
    --cc=carlos@redhat.com \
    --cc=cgzones@googlemail.com \
    --cc=dhildenb@redhat.com \
    --cc=fweimer@redhat.com \
    --cc=geert@linux-m68k.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jannh@google.com \
    --cc=jolsa@kernel.org \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patches@lists.linux.dev \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /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