aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c
diff options
context:
space:
mode:
authorFuqian Huang <[email protected]>2019-04-18 04:35:57 +0000
committerGreg Kroah-Hartman <[email protected]>2019-04-25 09:58:56 +0000
commit29973f8a88b001ebc605c88cdee124f7256ecdbf (patch)
tree8606f14cb8e4a3c6f186d8e049f15266be01c59e /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c
parenttty: update obsolete termios comment (diff)
downloadkernel-29973f8a88b001ebc605c88cdee124f7256ecdbf.tar.gz
kernel-29973f8a88b001ebc605c88cdee124f7256ecdbf.zip
tty: rocket: Remove RCPK_GET_STRUCT ioctl
If the cmd is RCPK_GET_STRUCT, copy_to_user will copy info to user space. As info->port.ops is the address of a constant object rocket_port_ops (assigned in init_r_port), a kernel address leakage happens. Remove the RCPK_GET_STRUCT ioctl. Signed-off-by: Fuqian Huang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c')
0 files changed, 0 insertions, 0 deletions