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: <YgqLFYqIqkIsNC92@infradead.org>
Date:   Mon, 14 Feb 2022 09:02:13 -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 04/14] x86: use more conventional access_ok() definition

On Mon, Feb 14, 2022 at 05:34:42PM +0100, Arnd Bergmann wrote:
> +#define __range_not_ok(addr, size, limit)	(!__access_ok(addr, size))
> +#define __chk_range_not_ok(addr, size, limit)	(!__access_ok((void __user *)addr, size))

Can we just kill these off insted of letting themm obsfucate the code?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ