Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
731bbe43
Commit
731bbe43
authored
Apr 04, 2006
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Translate PTRACE_GETEVENTMSG for 32-bit tasks.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
1608a96e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
arch/sparc64/kernel/ptrace.c
arch/sparc64/kernel/ptrace.c
+16
-0
No files found.
arch/sparc64/kernel/ptrace.c
View file @
731bbe43
...
@@ -609,6 +609,22 @@ asmlinkage void do_ptrace(struct pt_regs *regs)
...
@@ -609,6 +609,22 @@ asmlinkage void do_ptrace(struct pt_regs *regs)
/* PTRACE_DUMPCORE unsupported... */
/* PTRACE_DUMPCORE unsupported... */
case
PTRACE_GETEVENTMSG
:
{
int
err
;
if
(
test_thread_flag
(
TIF_32BIT
))
err
=
put_user
(
child
->
ptrace_message
,
(
unsigned
int
__user
*
)
data
);
else
err
=
put_user
(
child
->
ptrace_message
,
(
unsigned
long
__user
*
)
data
);
if
(
err
)
pt_error_return
(
regs
,
-
err
);
else
pt_succ_return
(
regs
,
0
);
break
;
}
default:
{
default:
{
int
err
=
ptrace_request
(
child
,
request
,
addr
,
data
);
int
err
=
ptrace_request
(
child
,
request
,
addr
,
data
);
if
(
err
)
if
(
err
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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