From: Rafael J. Wysocki Tasks should go to the refrigerator only if explicitly requested to do that by the freezer and not as a result of inheriting the TIF_FREEZE flag set from the parent. Make it happen. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Acked-by: Nigel Cunningham Signed-off-by: Andrew Morton --- kernel/fork.c | 1 + 1 file changed, 1 insertion(+) diff -puN kernel/fork.c~freezer-prevent-new-tasks-from-inheriting-tif_freeze-set kernel/fork.c --- a/kernel/fork.c~freezer-prevent-new-tasks-from-inheriting-tif_freeze-set +++ a/kernel/fork.c @@ -940,6 +940,7 @@ static inline void copy_flags(unsigned l if (!(clone_flags & CLONE_PTRACE)) p->ptrace = 0; p->flags = new_flags; + clear_freeze_flag(p); } asmlinkage long sys_set_tid_address(int __user *tidptr) _