Re: [PATCH] powerpc/lib/sstep: Don't use __{get/put}_user() on kernel addresses

From: Michael Ellerman
Date: Tue Nov 02 2021 - 07:38:40 EST


On Thu, 16 Sep 2021 20:43:36 +0200, Christophe Leroy wrote:
> In the old days, when we didn't have kernel userspace access
> protection and had set_fs(), it was wise to use __get_user()
> and friends to read kernel memory.
>
> Nowadays, get_user() and put_user() are granting userspace access and
> are exclusively for userspace access.
>
> [...]

Applied to powerpc/next.

[1/1] powerpc/lib/sstep: Don't use __{get/put}_user() on kernel addresses
https://git.kernel.org/powerpc/c/e28d0b675056d072f1f11fa644d0efbb016bb7ce

cheers