]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- rel 2; fixed strace inside guest (caused lockup in yama); from upstream@daniel_hozac auto/th/kernel-4.1-4.1.16-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 27 Jan 2016 20:48:55 +0000 (21:48 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 27 Jan 2016 20:48:55 +0000 (21:48 +0100)
kernel-vserver-fixes.patch
kernel.spec

index 0898f825c9b686296fd2787bd5812af6f1683f76..f18f26d80438aac883c507f52f6ffcc326280428 100644 (file)
                rcu_read_unlock();
                if (likely(!p || error != -ESRCH))
                        return error;
+--- linux-4.1.3-vs2.3.8.2/kernel/exit.c        2015-09-20 20:06:03.000000000 +0200
++++ testing41/kernel/exit.c    2016-01-27 20:50:37.170221605 +0100
+@@ -580,8 +580,11 @@ static void forget_original_parent(struc
+       reaper = find_new_reaper(father, reaper);
+       list_for_each_entry(p, &father->children, sibling) {
++              struct task_struct *this_reaper = reaper;
++              if (p == reaper)
++                      this_reaper = task_active_pid_ns(reaper)->child_reaper;
+               for_each_thread(p, t) {
+-                      t->real_parent = reaper;
++                      t->real_parent = this_reaper;
+                       BUG_ON((!t->ptrace) != (t->parent == father));
+                       if (likely(!t->ptrace))
+                               t->parent = t->real_parent;
+@@ -593,7 +596,7 @@ static void forget_original_parent(struc
+                * If this is a threaded reparent there is no need to
+                * notify anyone anything has happened.
+                */
+-              if (!same_thread_group(reaper, father))
++              if (!same_thread_group(this_reaper, father))
+                       reparent_leader(father, p, dead);
+       }
+       list_splice_tail_init(&father->children, &reaper->children);
index c96fbb79349a3f3583a44b325104465cbdd82016..3bc7226b28ebefab47f0e20251c32c2be57e542a 100644 (file)
@@ -69,7 +69,7 @@
 %define                have_pcmcia     0
 %endif
 
-%define                rel             1
+%define                rel             2
 %define                basever         4.1
 %define                postver         .16
 
This page took 0.864408 seconds and 4 git commands to generate.