Thread (5 messages) flat view 5 messages, 3 authors, 2018-05-21

Re: [1/2] powerpc/ptrace: Fix enforcement of DAWR contraints

From: Michael Ellerman <hidden>
Date: 2018-05-21 10:01:29

On Thu, 2018-05-17 at 05:37:14 UTC, Michael Neuling wrote:
Back when we first introduced the DAWR in this commit:
  4ae7ebe952 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.

Signed-off-by: Michael Neuling <redacted>
cc: <redacted> # v3.9+
Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/cd6ef7eebf171bfcba7dc2df719c2a

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help