lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YgqL/NJ3YHEAhj4i@infradead.org>
Date:   Mon, 14 Feb 2022 09:06:04 -0800
From:   Christoph Hellwig <hch@...radead.org>
To:     Arnd Bergmann <arnd@...nel.org>
Cc:     Linus Torvalds <torvalds@...ux-foundation.org>,
        Christoph Hellwig <hch@....de>, linux-arch@...r.kernel.org,
        linux-mm@...ck.org, linux-api@...r.kernel.org, arnd@...db.de,
        linux-kernel@...r.kernel.org, mark.rutland@....com,
        dalias@...c.org, linux-ia64@...r.kernel.org,
        linux-sh@...r.kernel.org, peterz@...radead.org, jcmvbkbc@...il.com,
        guoren@...nel.org, sparclinux@...r.kernel.org,
        linux-hexagon@...r.kernel.org, linux-riscv@...ts.infradead.org,
        will@...nel.org, ardb@...nel.org, linux-s390@...r.kernel.org,
        bcain@...eaurora.org, deller@....de, x86@...nel.org,
        linux@...linux.org.uk, linux-csky@...r.kernel.org,
        mingo@...hat.com, geert@...ux-m68k.org,
        linux-snps-arc@...ts.infradead.org, linux-xtensa@...ux-xtensa.org,
        hca@...ux.ibm.com, linux-alpha@...r.kernel.org,
        linux-um@...ts.infradead.org, linux-m68k@...ts.linux-m68k.org,
        openrisc@...ts.librecores.org, green.hu@...il.com,
        shorne@...il.com, linux-arm-kernel@...ts.infradead.org,
        monstr@...str.eu, tsbogend@...ha.franken.de,
        linux-parisc@...r.kernel.org, nickhu@...estech.com,
        linux-mips@...r.kernel.org, dinguyen@...nel.org,
        ebiederm@...ssion.com, richard@....at, akpm@...ux-foundation.org,
        linuxppc-dev@...ts.ozlabs.org, davem@...emloft.net
Subject: Re: [PATCH 10/14] uaccess: remove most CONFIG_SET_FS users

On Mon, Feb 14, 2022 at 05:34:48PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
> 
> On almost all architectures, there are no remaining callers
> of set_fs(), so CONFIG_SET_FS can be disabled, along with
> removing the thread_info field and any references to it.
> 
> This turns access_ok() into a cheaper check against TASK_SIZE_MAX.

Wouldn't it make more sense to just merge this into the last patch?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ