[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wgs=mHpM3MxrHCShwo1A-U3mag1azVvKNEkQK36NroQ3A@mail.gmail.com>
Date: Sun, 29 Mar 2020 11:19:57 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: David Laight <David.Laight@...lab.com>,
Andy Lutomirski <luto@...capital.net>,
Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>, X86 ML <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
Borislav Petkov <bp@...en8.de>
Subject: Re: [RFC][PATCH 01/22] x86 user stack frame reads: switch to explicit __get_user()
On Sun, Mar 29, 2020 at 11:18 AM Al Viro <viro@...iv.linux.org.uk> wrote:
>
> Except that you'd better make that
> if (!user_access_begin(...))
> return -EFAULT;
Yeah, that should teach me not to just write random code snippets in
the mail reader rather than just cutting-and-pasting actual working
code ;)
Linus
Powered by blists - more mailing lists