Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
09276d90
Commit
09276d90
authored
Feb 16, 2005
by
Ralf Baechle
Browse files
32-bit compatibility for ptrace GETEVENTMSG operation.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
54f2da75
Changes
1
Hide whitespace changes
Inline
Side-by-side
arch/mips/kernel/ptrace32.c
View file @
09276d90
...
...
@@ -24,7 +24,6 @@
#include
<linux/smp_lock.h>
#include
<linux/user.h>
#include
<linux/security.h>
#include
<linux/signal.h>
#include
<asm/cpu.h>
#include
<asm/fpu.h>
...
...
@@ -273,6 +272,11 @@ asmlinkage int sys32_ptrace(int request, int pid, int addr, int data)
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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment