Thread (17 messages) 17 messages, 6 authors, 2020-05-29

Re: [PATCH v2 3/5] drm/i915/gem: Replace user_access_begin by user_write_access_begin

From: Michael Ellerman <hidden>
Date: 2020-05-29 04:20:59
Also in: intel-gfx, linux-arch, linux-mm, lkml

On Fri, 2020-04-03 at 07:20:52 UTC, Christophe Leroy wrote:
When i915_gem_execbuffer2_ioctl() is using user_access_begin(),
that's only to perform unsafe_put_user() so use
user_write_access_begin() in order to only open write access.

Signed-off-by: Christophe Leroy <redacted>
Reviewed-by: Kees Cook <redacted>
Applied to powerpc topic/uaccess, thanks.

https://git.kernel.org/powerpc/c/b44f687386875b714dae2afa768e73401e45c21c

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