Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kernel
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
Linaro
qcomlt
kernel
Commits
b1e0318b
Commit
b1e0318b
authored
12 years ago
by
Al Viro
Browse files
Options
Downloads
Patches
Plain Diff
sys_clone() needs asmlinkage_protect
Cc: stable@vger.kernel.org Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
43b16820
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kernel/fork.c
+4
-2
4 additions, 2 deletions
kernel/fork.c
with
4 additions
and
2 deletions
kernel/fork.c
+
4
−
2
View file @
b1e0318b
...
...
@@ -1660,8 +1660,10 @@ SYSCALL_DEFINE5(clone, unsigned long, clone_flags, unsigned long, newsp,
int
,
tls_val
)
#endif
{
return
do_fork
(
clone_flags
,
newsp
,
0
,
parent_tidptr
,
child_tidptr
);
long
ret
=
do_fork
(
clone_flags
,
newsp
,
0
,
parent_tidptr
,
child_tidptr
);
asmlinkage_protect
(
5
,
ret
,
clone_flags
,
newsp
,
parent_tidptr
,
child_tidptr
,
tls_val
);
return
ret
;
}
#endif
...
...
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