[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e0795f90-1030-4954-aefc-be137e9db49e@csgroup.eu>
Date: Tue, 4 Nov 2025 07:35:04 +0100
From: Christophe Leroy <christophe.leroy@...roup.eu>
To: Thomas Gleixner <tglx@...utronix.de>, LKML <linux-kernel@...r.kernel.org>
Cc: kernel test robot <lkp@...el.com>, Russell King <linux@...linux.org.uk>,
linux-arm-kernel@...ts.infradead.org,
Linus Torvalds <torvalds@...ux-foundation.org>, x86@...nel.org,
Madhavan Srinivasan <maddy@...ux.ibm.com>,
Michael Ellerman <mpe@...erman.id.au>, Nicholas Piggin <npiggin@...il.com>,
linuxppc-dev@...ts.ozlabs.org, Paul Walmsley <pjw@...nel.org>,
Palmer Dabbelt <palmer@...belt.com>, linux-riscv@...ts.infradead.org,
Heiko Carstens <hca@...ux.ibm.com>,
Christian Borntraeger <borntraeger@...ux.ibm.com>,
Sven Schnelle <svens@...ux.ibm.com>, linux-s390@...r.kernel.org,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Andrew Cooper <andrew.cooper3@...rix.com>,
David Laight <david.laight.linux@...il.com>,
Julia Lawall <Julia.Lawall@...ia.fr>, Nicolas Palix <nicolas.palix@...g.fr>,
Peter Zijlstra <peterz@...radead.org>, Darren Hart <dvhart@...radead.org>,
Davidlohr Bueso <dave@...olabs.net>, André Almeida
<andrealmeid@...lia.com>, Alexander Viro <viro@...iv.linux.org.uk>,
Christian Brauner <brauner@...nel.org>, Jan Kara <jack@...e.cz>,
linux-fsdevel@...r.kernel.org
Subject: Re: [patch V5 00/12] uaccess: Provide and use scopes for user access
Le 27/10/2025 à 09:43, Thomas Gleixner a écrit :
> This is a follow up on the V4 feedback:
>
> https://lore.kernel.org/20251022102427.400699796@linutronix.de
>
> Changes vs. V4:
>
> - Rename get/put_user_masked() to get/put_user_inline()
>
> - Remove the futex helpers. Keep the inline get/put for now as it needs
> more testing whether they are really valuable.
>
> - Picked up tags
>
> The series is based on v6.18-rc1 and also available from git:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git uaccess/scoped
>
move_addr_to_user() in net/socket.c and put_cmsg() in net/core/scm.c
should be converted as well
Christophe
> Thanks,
>
> tglx
> ---
> Thomas Gleixner (12):
> ARM: uaccess: Implement missing __get_user_asm_dword()
> uaccess: Provide ASM GOTO safe wrappers for unsafe_*_user()
> x86/uaccess: Use unsafe wrappers for ASM GOTO
> powerpc/uaccess: Use unsafe wrappers for ASM GOTO
> riscv/uaccess: Use unsafe wrappers for ASM GOTO
> s390/uaccess: Use unsafe wrappers for ASM GOTO
> uaccess: Provide scoped user access regions
> uaccess: Provide put/get_user_inline()
> coccinelle: misc: Add scoped_masked_$MODE_access() checker script
> futex: Convert to get/put_user_inline()
> x86/futex: Convert to scoped user access
> select: Convert to scoped user access
>
> arch/arm/include/asm/uaccess.h | 26 ++
> arch/powerpc/include/asm/uaccess.h | 8
> arch/riscv/include/asm/uaccess.h | 8
> arch/s390/include/asm/uaccess.h | 4
> arch/x86/include/asm/futex.h | 75 ++----
> arch/x86/include/asm/uaccess.h | 12 -
> fs/select.c | 12 -
> include/linux/uaccess.h | 314 ++++++++++++++++++++++++++-
> kernel/futex/core.c | 4
> kernel/futex/futex.h | 58 ----
> scripts/coccinelle/misc/scoped_uaccess.cocci | 108 +++++++++
> 11 files changed, 501 insertions(+), 128 deletions(-)
>
Powered by blists - more mailing lists