Files
twx-linux/arch/arm64/kernel
Dave Martin 6e53a62a0d arm64/ptrace: Reject attempts to set incomplete hardware breakpoint fields
commit ad9e202aa1 upstream.

We cannot preserve partial fields for hardware breakpoints, because
the values written by userspace to the hardware breakpoint
registers can't subsequently be recovered intact from the hardware.

So, just reject attempts to write incomplete fields with -EINVAL.

Fixes: 478fcb2cdb ("arm64: Debugging support")
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Acked-by: Will Deacon <Will.Deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-26 08:24:41 +01:00
..
2016-09-28 17:46:57 +02:00
2016-06-27 16:31:25 +01:00
2016-06-27 16:31:25 +01:00
2017-01-26 08:24:40 +01:00
2016-06-27 16:31:25 +01:00
2016-08-01 12:23:44 -05:00
2016-08-31 12:31:38 +01:00
2016-04-20 12:22:42 +01:00
2017-01-26 08:24:40 +01:00