diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 490495a39c7e..7e455a93a75a 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -942,6 +942,7 @@ static inline void copy_flags(unsigned long clone_flags, struct task_struct *p) | |||
942 | if (!(clone_flags & CLONE_PTRACE)) | 942 | if (!(clone_flags & CLONE_PTRACE)) |
943 | p->ptrace = 0; | 943 | p->ptrace = 0; |
944 | p->flags = new_flags; | 944 | p->flags = new_flags; |
945 | clear_freeze_flag(p); | ||
945 | } | 946 | } |
946 | 947 | ||
947 | asmlinkage long sys_set_tid_address(int __user *tidptr) | 948 | asmlinkage long sys_set_tid_address(int __user *tidptr) |