summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/ptrace.c
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2018-05-17 15:37:14 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-21 14:47:44 +1000
commitcd6ef7eebf171bfcba7dc2df719c2a4958775040 (patch)
tree774894519f6b0aac66d2e9f81d6f1c37e12e6eea /arch/powerpc/kernel/ptrace.c
parentc786cf767b3c327cc095c36617059c932c2f43bd (diff)
powerpc/ptrace: Fix enforcement of DAWR constraints
Back when we first introduced the DAWR, in commit 4ae7ebe9522a ("powerpc: Change hardware breakpoint to allow longer ranges"), we screwed up the constraint making it a 1024 byte boundary rather than a 512. This makes the check overly permissive. Fortunately GDB is the only real user and it always did they right thing, so we never noticed. This fixes the constraint to 512 bytes. Fixes: 4ae7ebe9522a ("powerpc: Change hardware breakpoint to allow longer ranges") Cc: stable@vger.kernel.org # v3.9+ Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions