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
fe5c8734
Commit
fe5c8734
authored
Sep 21, 2014
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: ptrace: use secure_computing_strict()
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
3c2ea702
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
arch/parisc/kernel/ptrace.c
arch/parisc/kernel/ptrace.c
+2
-4
No files found.
arch/parisc/kernel/ptrace.c
View file @
fe5c8734
...
...
@@ -17,6 +17,7 @@
#include <linux/user.h>
#include <linux/personality.h>
#include <linux/security.h>
#include <linux/seccomp.h>
#include <linux/compat.h>
#include <linux/signal.h>
#include <linux/audit.h>
...
...
@@ -271,10 +272,7 @@ long do_syscall_trace_enter(struct pt_regs *regs)
long
ret
=
0
;
/* Do the secure computing check first. */
if
(
secure_computing
(
regs
->
gr
[
20
]))
{
/* seccomp failures shouldn't expose any additional code. */
return
-
1
;
}
secure_computing_strict
(
regs
->
gr
[
20
]);
if
(
test_thread_flag
(
TIF_SYSCALL_TRACE
)
&&
tracehook_report_syscall_entry
(
regs
))
...
...
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