]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
arm64: ptrace: remove addr_limit manipulation
authorMark Rutland <mark.rutland@arm.com>
Tue, 24 Apr 2018 12:11:22 +0000 (13:11 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 24 Apr 2018 18:07:26 +0000 (19:07 +0100)
commit59275a0c037ed6fabd6354730f1e3104264ab719
tree688a1724645587aef5210b600a979f9a9d57060b
parent907e21c15c883c2c15d1e5ee3cdbb7824ab1da59
arm64: ptrace: remove addr_limit manipulation

We transiently switch to KERNEL_DS in compat_ptrace_gethbpregs() and
compat_ptrace_sethbpregs(), but in either case this is pointless as we
don't perform any uaccess during this window.

let's rip out the redundant addr_limit manipulation.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/ptrace.c