linux/arch/arm64
Will Deacon 27d7ff273c arm64: ptrace: fix compat hardware watchpoint reporting
I'm not sure what I was on when I wrote this, but when iterating over
the hardware watchpoint array (hbp_watch_array), our index is off by
ARM_MAX_BRP, so we walk off the end of our thread_struct...

... except, a dodgy condition in the loop means that it never executes
at all (bp cannot be NULL).

This patch fixes the code so that we remove the bp check and use the
correct index for accessing the watchpoint structures.

Cc: <stable@vger.kernel.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2014-08-28 20:01:36 +01:00
..
boot dts: Add bindings for APM X-Gene SoC ethernet driver 2014-08-11 11:50:33 -07:00
configs arm64: configs: Enable X-Gene SATA and ethernet in defconfig 2014-08-19 19:26:09 +01:00
crypto arm64/crypto: remove redundant update of data 2014-08-26 11:42:22 +01:00
include arm64: ptrace: fix compat hardware watchpoint reporting 2014-08-28 20:01:36 +01:00
kernel arm64: ptrace: fix compat hardware watchpoint reporting 2014-08-28 20:01:36 +01:00
kvm arm64: KVM: fix 64bit CP15 VM access for 32bit guests 2014-08-01 14:05:06 +02:00
lib arm64: lib: Implement optimized string length routines 2014-05-23 15:17:12 +01:00
mm arm64: ignore DT memreserve entries when booting in UEFI mode 2014-08-19 20:22:03 +01:00
xen arm: xen: implement multicall hypercall support. 2014-04-24 13:09:46 +01:00
Kconfig lib/scatterlist: make ARCH_HAS_SG_CHAIN an actual Kconfig 2014-08-08 15:57:26 -07:00
Kconfig.debug arm64: Enable TEXT_OFFSET fuzzing 2014-07-10 12:36:58 +01:00
Makefile arm64: align randomized TEXT_OFFSET on 4 kB boundary 2014-08-19 19:26:09 +01:00