diff options
author | Avi Kivity <avi@redhat.com> | 2009-12-03 08:30:06 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-12-03 08:30:06 +0100 |
commit | 58988b07cfe2ebe9f9b39d973fd8a083390e749f (patch) | |
tree | f7a164abe85b8aa768c58a80c1261208372fb4b0 /kernel/fork.c | |
parent | Linux 2.6.32 (diff) | |
parent | core: Fix user return notifier on fork() (diff) | |
download | linux-58988b07cfe2ebe9f9b39d973fd8a083390e749f.tar.xz linux-58988b07cfe2ebe9f9b39d973fd8a083390e749f.zip |
Merge remote branch 'tip/x86/entry' into kvm-updates/2.6.33
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 166b8c49257c..7d4a348ea4f4 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -64,6 +64,7 @@ #include <linux/magic.h> #include <linux/perf_event.h> #include <linux/posix-timers.h> +#include <linux/user-return-notifier.h> #include <asm/pgtable.h> #include <asm/pgalloc.h> @@ -249,6 +250,7 @@ static struct task_struct *dup_task_struct(struct task_struct *orig) goto out; setup_thread_stack(tsk, orig); + clear_user_return_notifier(tsk); stackend = end_of_stack(tsk); *stackend = STACK_END_MAGIC; /* for overflow detection */ |