[packages/kernel/LINUX_4_1] - rel 2; fix for cpu lockup (triggered by perl 5.22 t/op/kill0 test)
arekm
arekm at pld-linux.org
Sun Dec 13 21:35:54 CET 2015
commit 9b783a63c9bf8eaf7b62f930b95b93041c32f324
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Dec 13 21:35:33 2015 +0100
- rel 2; fix for cpu lockup (triggered by perl 5.22 t/op/kill0 test)
kernel-vserver-fixes.patch | 19 +++++++++++++++++++
kernel.spec | 2 +-
2 files changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/kernel.spec b/kernel.spec
index bc7c04b..5a47f60 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -69,7 +69,7 @@
%define have_pcmcia 0
%endif
-%define rel 1
+%define rel 2
%define basever 4.1
%define postver .14
diff --git a/kernel-vserver-fixes.patch b/kernel-vserver-fixes.patch
index b46a561..0898f82 100644
--- a/kernel-vserver-fixes.patch
+++ b/kernel-vserver-fixes.patch
@@ -9,3 +9,22 @@
if (pid->hide_pid < hide_pid_min)
return true;
if (in_group_p(pid->pid_gid))
+--- linux-4.1.3-vs2.3.8.2/kernel/signal.c 2015-09-20 20:06:03.000000000 +0200
++++ testing41/kernel/signal.c 2015-12-05 13:01:00.599373873 +0100
+@@ -1369,8 +1369,14 @@
+ for (;;) {
+ rcu_read_lock();
+ p = pid_task(pid, PIDTYPE_PID);
+- if (p && vx_check(vx_task_xid(p), VS_IDENT))
+- error = group_send_sig_info(sig, info, p);
++ if (p) {
++ if (vx_check(vx_task_xid(p), VS_IDENT))
++ error = group_send_sig_info(sig, info, p);
++ else {
++ rcu_read_unlock();
++ return -ESRCH;
++ }
++ }
+ rcu_read_unlock();
+ if (likely(!p || error != -ESRCH))
+ return error;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/9b783a63c9bf8eaf7b62f930b95b93041c32f324
More information about the pld-cvs-commit
mailing list