[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <49YBF610M2z9sSw@ozlabs.org>
Date: Fri, 29 May 2020 14:20:25 +1000 (AEST)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Christophe Leroy <christophe.leroy@....fr>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>, airlied@...ux.ie,
daniel@...ll.ch, torvalds@...ux-foundation.org,
viro@...iv.linux.org.uk, akpm@...ux-foundation.org,
keescook@...omium.org, hpa@...or.com
Cc: linux-arch@...r.kernel.org, linux-mm@...ck.org,
intel-gfx@...ts.freedesktop.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/5] drm/i915/gem: Replace user_access_begin by user_write_access_begin
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 <christophe.leroy@....fr>
> Reviewed-by: Kees Cook <keescook@...omium.org>
Applied to powerpc topic/uaccess, thanks.
https://git.kernel.org/powerpc/c/b44f687386875b714dae2afa768e73401e45c21c
cheers
Powered by blists - more mailing lists