Commit 91f116cb authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Linus Torvalds

[PATCH] parisc: fix PTRACE_GETEVENTMSG

PTRACE_GETEVENTMSG was not 64-bit clean, fix it
Committed-by: default avatarRandolph Chung <tausq@parisc-linux.org>
parent adb68c82
...@@ -379,6 +379,10 @@ long sys_ptrace(long request, pid_t pid, long addr, long data) ...@@ -379,6 +379,10 @@ long sys_ptrace(long request, pid_t pid, long addr, long data)
ret = ptrace_detach(child, data); ret = ptrace_detach(child, data);
goto out_tsk; goto out_tsk;
case PTRACE_GETEVENTMSG:
ret = put_user(child->ptrace_message, (unsigned int __user *) data);
goto out_tsk;
default: default:
ret = ptrace_request(child, request, addr, data); ret = ptrace_request(child, request, addr, data);
goto out_tsk; goto out_tsk;
......
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