summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 43b1682)
raw | patch | inline | side by side (parent: 43b1682)
author | Al Viro <viro@zeniv.linux.org.uk> | |
Sun, 20 Jan 2013 03:13:34 +0000 (22:13 -0500) | ||
committer | Al Viro <viro@zeniv.linux.org.uk> | |
Sun, 20 Jan 2013 03:13:34 +0000 (22:13 -0500) |
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/fork.c | patch | blob | history |
diff --git a/kernel/fork.c b/kernel/fork.c
index a31b823b3c2d6d4e6254128f00e36c6c1b048c37..e05cff2429b5d74fdff15d1efec9244568f82a53 100644 (file)
--- a/kernel/fork.c
+++ b/kernel/fork.c
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