[PATCH] arm64: ptrace: remove addr_limit manipulation

Catalin Marinas catalin.marinas at arm.com
Tue Apr 24 10:03:41 PDT 2018


On Tue, Apr 24, 2018 at 01:11:22PM +0100, Mark Rutland wrote:
> 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.

It looks like some leftovers from an internal tree prior to upstreaming.

Acked-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list