[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHmME9rye4sqKNbpu=oOvLjgMY=Whi13Qz8L0xyZR=Ty27pHfw@mail.gmail.com>
Date: Tue, 8 Nov 2022 12:40:19 +0100
From: "Jason A. Donenfeld" <Jason@...c4.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
x86@...nel.org, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Adhemerval Zanella Netto <adhemerval.zanella@...aro.org>,
"Carlos O'Donell" <carlos@...hat.com>
Subject: Re: [PATCH RFC v3] random: implement getrandom() in vDSO
On Tue, Nov 8, 2022 at 9:32 AM Thomas Gleixner <tglx@...utronix.de> wrote:
>
> On Fri, Sep 16 2022 at 13:59, Jason A. Donenfeld wrote:
> > ---
> > MAINTAINERS | 2 +
> > arch/x86/entry/syscalls/syscall_32.tbl | 1 +
> > arch/x86/entry/syscalls/syscall_64.tbl | 1 +
> > arch/x86/entry/vdso/Makefile | 3 +-
> > arch/x86/entry/vdso/vdso.lds.S | 2 +
> > arch/x86/entry/vdso/vgetrandom.c | 16 ++++
> > arch/x86/include/asm/vdso/getrandom.h | 37 ++++++++
> > arch/x86/include/asm/vvar.h | 16 ++++
> > drivers/char/random.c | 64 ++++++++++++++
> > include/vdso/datapage.h | 6 ++
> > lib/crypto/chacha.c | 4 +
> > lib/vdso/getrandom.c | 117 +++++++++++++++++++++++++
> > lib/vdso/getrandom.h | 25 ++++++
> > 13 files changed, 293 insertions(+), 1 deletion(-)
> > create mode 100644 arch/x86/entry/vdso/vgetrandom.c
> > create mode 100644 arch/x86/include/asm/vdso/getrandom.h
> > create mode 100644 lib/vdso/getrandom.c
> > create mode 100644 lib/vdso/getrandom.h
>
> This is not how it works. Please split this apart into reviewable bits
> and pieces:
>
> 1) Add the new syscall
> 2) Add the vdso infrastructure
> 3) Wire it up on x86
No problem, will do.
Jason
Powered by blists - more mailing lists