[PATCH] hppa: Avoid manipulating function pointers from a traced process.
Dmitry V. Levin
ldv at altlinux.org
Mon Sep 14 21:54:41 UTC 2009
On Wed, Sep 09, 2009 at 02:13:19PM -0400, Carlos O'Donell wrote:
> Architectures using function pointers, like hppa, may need to
> manipulate the function pointer to compute the result of a comparison.
> However, the SA_HANDLER function pointer exists only in the address
> space of the traced process, and can't be manipulated by strace. In
> order to prevent the compiler from generating code to manipulate
> SA_HANDLER we cast the function pointers to long.
> Please apply.
The change looks harmless for other architectures, so OK for me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the Strace-devel