Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martyn Welch
linux
Commits
70b58d89
Commit
70b58d89
authored
13 years ago
by
Al Viro
Browse files
Options
Downloads
Patches
Plain Diff
arm: don't open-code ptrace_report_syscall()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
7d181b96
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/arm/kernel/ptrace.c
+1
-14
1 addition, 14 deletions
arch/arm/kernel/ptrace.c
with
1 addition
and
14 deletions
arch/arm/kernel/ptrace.c
+
1
−
14
View file @
70b58d89
...
@@ -932,20 +932,7 @@ asmlinkage int syscall_trace(int why, struct pt_regs *regs, int scno)
...
@@ -932,20 +932,7 @@ asmlinkage int syscall_trace(int why, struct pt_regs *regs, int scno)
*/
*/
ip
=
regs
->
ARM_ip
;
ip
=
regs
->
ARM_ip
;
regs
->
ARM_ip
=
why
;
regs
->
ARM_ip
=
why
;
ptrace_report_syscall
(
regs
);
/* the 0x80 provides a way for the tracing parent to distinguish
between a syscall stop and SIGTRAP delivery */
ptrace_notify
(
SIGTRAP
|
((
current
->
ptrace
&
PT_TRACESYSGOOD
)
?
0x80
:
0
));
/*
* this isn't the same as continuing with a signal, but it will do
* for normal use. strace only continues with a signal if the
* stopping signal is not SIGTRAP. -brl
*/
if
(
current
->
exit_code
)
{
send_sig
(
current
->
exit_code
,
current
,
1
);
current
->
exit_code
=
0
;
}
regs
->
ARM_ip
=
ip
;
regs
->
ARM_ip
=
ip
;
return
current_thread_info
()
->
syscall
;
return
current_thread_info
()
->
syscall
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment