[PATCH] xtensa: sort values in struct_user_offsets

Dmitry V. Levin ldv at altlinux.org
Wed Jun 18 15:49:14 UTC 2014


On Wed, Jun 18, 2014 at 06:04:06AM +0400, Max Filippov wrote:
> Otherwise ptrace syscall argument decoding is wrong:
>   ptrace(PTRACE_PEEKUSER, 296, syscall_nr, [0x4048eb]) = 0
>   ptrace(PTRACE_PEEKUSER, 296, syscall_nr, [0x3fa6cd30]) = 0
>   ptrace(PTRACE_PEEKUSER, 296, syscall_nr, [0x8040676d]) = 0
> instead of
>   ptrace(PTRACE_PEEKUSER, 296, pc, [0x4048eb]) = 0
>   ptrace(PTRACE_PEEKUSER, 296, a1, [0x3fa6cd30]) = 0
>   ptrace(PTRACE_PEEKUSER, 296, a0, [0x8040676d]) = 0
> 
> * process.c (struct_user_offsets): sort values inside xtensa section

Applied, thanks.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140618/c54baa05/attachment.bin>


More information about the Strace-devel mailing list