Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d9c7dee6
Commit
d9c7dee6
authored
Jul 09, 2004
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Nuke a warning due to the syscall auditing patch.
parent
e02f2f56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
arch/ia64/kernel/ptrace.c
arch/ia64/kernel/ptrace.c
+5
-9
No files found.
arch/ia64/kernel/ptrace.c
View file @
d9c7dee6
...
@@ -1476,7 +1476,7 @@ syscall_trace (void)
...
@@ -1476,7 +1476,7 @@ syscall_trace (void)
asmlinkage
void
asmlinkage
void
syscall_trace_enter
(
long
arg0
,
long
arg1
,
long
arg2
,
long
arg3
,
syscall_trace_enter
(
long
arg0
,
long
arg1
,
long
arg2
,
long
arg3
,
long
arg4
,
long
arg5
,
long
arg6
,
long
arg7
,
long
stack
)
long
arg4
,
long
arg5
,
long
arg6
,
long
arg7
,
long
stack
)
{
{
struct
pt_regs
*
regs
=
(
struct
pt_regs
*
)
&
stack
;
struct
pt_regs
*
regs
=
(
struct
pt_regs
*
)
&
stack
;
long
syscall
;
long
syscall
;
...
@@ -1490,8 +1490,7 @@ syscall_trace_enter (long arg0, long arg1, long arg2, long arg3,
...
@@ -1490,8 +1490,7 @@ syscall_trace_enter (long arg0, long arg1, long arg2, long arg3,
audit_syscall_entry
(
current
,
syscall
,
arg0
,
arg1
,
arg2
,
arg3
);
audit_syscall_entry
(
current
,
syscall
,
arg0
,
arg1
,
arg2
,
arg3
);
}
}
if
(
test_thread_flag
(
TIF_SYSCALL_TRACE
)
if
(
test_thread_flag
(
TIF_SYSCALL_TRACE
)
&&
(
current
->
ptrace
&
PT_PTRACED
))
&&
(
current
->
ptrace
&
PT_PTRACED
))
syscall_trace
();
syscall_trace
();
}
}
...
@@ -1499,14 +1498,11 @@ syscall_trace_enter (long arg0, long arg1, long arg2, long arg3,
...
@@ -1499,14 +1498,11 @@ syscall_trace_enter (long arg0, long arg1, long arg2, long arg3,
asmlinkage
void
asmlinkage
void
syscall_trace_leave
(
long
arg0
,
long
arg1
,
long
arg2
,
long
arg3
,
syscall_trace_leave
(
long
arg0
,
long
arg1
,
long
arg2
,
long
arg3
,
long
arg4
,
long
arg5
,
long
arg6
,
long
arg7
,
long
stack
)
long
arg4
,
long
arg5
,
long
arg6
,
long
arg7
,
long
stack
)
{
{
struct
pt_regs
*
regs
=
(
struct
pt_regs
*
)
&
stack
;
if
(
unlikely
(
current
->
audit_context
))
if
(
unlikely
(
current
->
audit_context
))
audit_syscall_exit
(
current
,
regs
->
r8
);
audit_syscall_exit
(
current
,
((
struct
pt_regs
*
)
&
stack
)
->
r8
);
if
(
test_thread_flag
(
TIF_SYSCALL_TRACE
)
if
(
test_thread_flag
(
TIF_SYSCALL_TRACE
)
&&
(
current
->
ptrace
&
PT_PTRACED
))
&&
(
current
->
ptrace
&
PT_PTRACED
))
syscall_trace
();
syscall_trace
();
}
}
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