linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Wed, 16 Feb 2005 21:22:46 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/02/16 21:22:41

Modified files:
        arch/mips/kernel: ptrace32.c 

Log message:
        32-bit compatibility for ptrace GETEVENTMSG operation.

diff -urN linux/arch/mips/kernel/ptrace32.c linux/arch/mips/kernel/ptrace32.c
--- linux/arch/mips/kernel/ptrace32.c   2005/02/07 02:54:34     1.4
+++ linux/arch/mips/kernel/ptrace32.c   2005/02/16 21:22:40     1.5
@@ -272,6 +272,11 @@
                ret = ptrace_detach(child, data);
                break;
 
+       case PTRACE_GETEVENTMSG:
+               ret = put_user(child->ptrace_message,
+                              (unsigned int __user *) (unsigned long) data);
+               break;
+
        default:
                ret = ptrace_request(child, request, addr, data);
                break;

<Prev in Thread] Current Thread [Next in Thread>