Home
last modified time | relevance | path

Searched hist:"84 d710926797a6e317e7e94654a3ccd771cfd8a3" (Results 1 – 2 of 2) sorted by relevance

/linux/arch/sh/kernel/
H A Dhw_breakpoint.cdiff 105244ec95590f5f12a90d974650ab5c7bc8ec79 Mon Mar 01 03:52:03 CET 2010 Paul Mundt <lethal@linux-sh.org> sh: hw-breakpoints: Accept breakpoints on NULL addresses.

This follows the x86 change 84d710926797a6e317e7e94654a3ccd771cfd8a3
("hw-breakpoints: Accept breakpoints on NULL address") and restores the
previous expected ptrace behaviour.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
/linux/arch/x86/kernel/
H A Dhw_breakpoint.cdiff 84d710926797a6e317e7e94654a3ccd771cfd8a3 Thu Feb 18 16:00:59 CET 2010 Frederic Weisbecker <fweisbec@gmail.com> hw-breakpoints: Accept breakpoints on NULL address

Before we had a generic breakpoint API, ptrace was accepting
breakpoints on NULL address in x86. The new API refuse them,
without given strong reasons. We need to follow the previous
behaviour as some userspace apps like Wine need such NULL
breakpoints to ensure old emulated software protections
are still working.

This fixes a 2.6.32 - 2.6.33-x ptrace regression.

Reported-and-tested-by: Michael Stefaniuc <mstefani@redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: K.Prasad <prasad@linux.vnet.ibm.com>
Acked-by: Roland McGrath <roland@redhat.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Maneesh Soni <maneesh@linux.vnet.ibm.com>
Cc: Alexandre Julliard <julliard@winehq.org>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Maciej Rutecki <maciej.rutecki@gmail.com>