aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorAleksa Sarai <[email protected]>2019-10-01 01:10:55 +0000
committerChristian Brauner <[email protected]>2019-10-01 13:45:22 +0000
commitc2ba8f41ad366dc12840dd87d8f1565185845126 (patch)
tree7e6407dae5d248995ecbc56b808f49d8b687fd70 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentsched_setattr: switch to copy_struct_from_user() (diff)
downloadkernel-c2ba8f41ad366dc12840dd87d8f1565185845126.tar.gz
kernel-c2ba8f41ad366dc12840dd87d8f1565185845126.zip
perf_event_open: switch to copy_struct_from_user()
Switch perf_event_open() syscall from it's own copying struct perf_event_attr from userspace to the new dedicated copy_struct_from_user() helper. The change is very straightforward, and helps unify the syscall interface for struct-from-userspace syscalls. Signed-off-by: Aleksa Sarai <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Christian Brauner <[email protected]> [[email protected]: improve commit message] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions