[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wiXp9YLB6wHOmc4rBJbd7j0gHgHZPHhUSPe-SAjJgmABQ@mail.gmail.com>
Date: Sun, 16 Jul 2023 13:39:56 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Borislav Petkov <bp@...en8.de>
Cc: x86-ml <x86@...nel.org>, lkml <linux-kernel@...r.kernel.org>
Subject: Re: [GIT PULL] objtool/urgent for v6.5-rc2
On Sun, 16 Jul 2023 at 11:42, Borislav Petkov <bp@...en8.de> wrote:
>
> - Mark copy_iovec_from_user() __noclone in order to prevent gcc from
> doing an inter-procedural optimization and confuse objtool
This is painful.
Isn't there some way to mark the user_access_begin() itself so that
the compiler doesn't move it?
I've pulled this thing, but it does seem like we're chasing the
symptoms, not the deeper cause..
Linus
Powered by blists - more mailing lists