Commit 4569dcef authored by Andreas Schwab's avatar Andreas Schwab Committed by Tony Luck

[IA64] Fix PTRACE_GETEVENTMSG ia32 emulation

This patch fixes PTRACE_GETEVENTMSG for the ia32 emulation.  The parameter
is a pointer, thus needs to be converted.
Signed-off-by: default avatarAndreas Schwab <schwab@suse.de>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 5e2a7337
......@@ -1873,6 +1873,10 @@ sys32_ptrace (int request, pid_t pid, unsigned int addr, unsigned int data,
compat_ptr(data));
break;
case PTRACE_GETEVENTMSG:
ret = put_user(child->ptrace_message, (unsigned int __user *) compat_ptr(data));
break;
case PTRACE_SYSCALL: /* continue, stop after next syscall */
case PTRACE_CONT: /* restart after signal. */
case PTRACE_KILL:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment