Thread (2 messages) flat view 2 messages, 2 authors, 2021-11-02

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

From: Michael Ellerman <hidden>
Date: 2021-11-02 11:38:40
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help