diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2020-04-03 10:20:52 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-05-01 05:35:22 +0300 |
commit | b44f687386875b714dae2afa768e73401e45c21c (patch) | |
tree | 11cfcc8ff955dca5f79aac35c58e21c33a802498 /tools/perf/scripts/python/sctop.py | |
parent | 41cd780524674082b037e7c8461f90c5e42103f0 (diff) | |
download | linux-b44f687386875b714dae2afa768e73401e45c21c.tar.xz |
drm/i915/gem: Replace user_access_begin by user_write_access_begin
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@c-s.fr>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ebf1250b6d4f351469fb339e5399d8b92aa8a1c1.1585898438.git.christophe.leroy@c-s.fr
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions