Re: [PATCH v8 3/3] x86: vdso: Wire up getrandom() vDSO implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 28, 2022 at 10:29:29PM +0100, Jason A. Donenfeld wrote:
> On Mon, Nov 28, 2022 at 10:13 PM Arnd Bergmann <arnd@xxxxxxxx> wrote:
> >
> > On Mon, Nov 28, 2022, at 21:02, Jason A. Donenfeld wrote:
> > > On Mon, Nov 28, 2022 at 8:57 PM Arnd Bergmann <arnd@xxxxxxxx> wrote:
> >
> > > Okay, I can split it that way. If I gather your meaning correctly:
> > >
> > > 1) generic syscall C code
> > > 2) #define __NR_... in asm-generic/unistd.h x86/.../unistd.h,
> > > x86/.../syscall_64.tbl
> >
> > I mean all syscall*.tbl files, not just x86. There are currently
> > eight architectures using asm-generic/unistd.h, the rest use
> > syscall.tbl.
> 
> Oh okay, I'll add this to all of the *.tbl files.

Alright, so, it's looking like this now:

commit 16751c0ac4efaf1cefd793a79c469f9d62ddb3ed
Author: Jason A. Donenfeld <Jason@xxxxxxxxx>
Date:   Mon Nov 28 21:37:14 2022

    arch: allocate vgetrandom_alloc() syscall number

    Add vgetrandom_alloc() as syscall 451 (or 561 on alpha) by adding it to
    all of the various syscall.tbl an unistd.h files.

    Signed-off-by: Jason A. Donenfeld <Jason@xxxxxxxxx>

 arch/alpha/kernel/syscalls/syscall.tbl              | 1 +
 arch/arm/tools/syscall.tbl                          | 1 +
 arch/arm64/include/asm/unistd32.h                   | 2 ++
 arch/ia64/kernel/syscalls/syscall.tbl               | 1 +
 arch/m68k/kernel/syscalls/syscall.tbl               | 1 +
 arch/microblaze/kernel/syscalls/syscall.tbl         | 1 +
 arch/mips/kernel/syscalls/syscall_n32.tbl           | 1 +
 arch/mips/kernel/syscalls/syscall_n64.tbl           | 1 +
 arch/mips/kernel/syscalls/syscall_o32.tbl           | 1 +
 arch/parisc/kernel/syscalls/syscall.tbl             | 1 +
 arch/powerpc/kernel/syscalls/syscall.tbl            | 1 +
 arch/s390/kernel/syscalls/syscall.tbl               | 1 +
 arch/sh/kernel/syscalls/syscall.tbl                 | 1 +
 arch/sparc/kernel/syscalls/syscall.tbl              | 1 +
 arch/x86/entry/syscalls/syscall_32.tbl              | 1 +
 arch/x86/entry/syscalls/syscall_64.tbl              | 1 +
 arch/xtensa/kernel/syscalls/syscall.tbl             | 1 +
 include/uapi/asm-generic/unistd.h                   | 5 ++++-
 tools/include/uapi/asm-generic/unistd.h             | 5 ++++-
 tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl | 1 +
 tools/perf/arch/powerpc/entry/syscalls/syscall.tbl  | 1 +
 tools/perf/arch/s390/entry/syscalls/syscall.tbl     | 1 +
 tools/perf/arch/x86/entry/syscalls/syscall_64.tbl   | 1 +
 23 files changed, 30 insertions(+), 2 deletions(-)



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux