diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index b65187f0c74e..7e1ead9a6ba4 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -994,6 +994,9 @@ static task_t *copy_process(unsigned long clone_flags, | |||
994 | * of CLONE_PTRACE. | 994 | * of CLONE_PTRACE. |
995 | */ | 995 | */ |
996 | clear_tsk_thread_flag(p, TIF_SYSCALL_TRACE); | 996 | clear_tsk_thread_flag(p, TIF_SYSCALL_TRACE); |
997 | #ifdef TIF_SYSCALL_EMU | ||
998 | clear_tsk_thread_flag(p, TIF_SYSCALL_EMU); | ||
999 | #endif | ||
997 | 1000 | ||
998 | /* Our parent execution domain becomes current domain | 1001 | /* Our parent execution domain becomes current domain |
999 | These must match for thread signalling to apply */ | 1002 | These must match for thread signalling to apply */ |