Skip to content

Instantly share code, notes, and snippets.

@hiboma
Created February 23, 2013 01:38
Show Gist options
  • Save hiboma/5017898 to your computer and use it in GitHub Desktop.
Save hiboma/5017898 to your computer and use it in GitHub Desktop.
patch for ``` sudo strace -p 1 & sudo kill -KILL 1 # kernel oops !!!! ```
--- kernel/signal.c.org 2013-02-23 10:35:53.025437034 +0900
+++ kernel/signal.c 2013-02-23 10:35:24.816437657 +0900
@@ -2307,6 +2307,9 @@
!sig_kernel_only(signr))
continue;
+ if (current == init_pid_ns.child_reaper)
+ continue;
+
if (sig_kernel_stop(signr)) {
/*
* The default action is to stop all threads in
@hiboma
Copy link
Author

hiboma commented Feb 23, 2013

sudo strace -p 1 & 
sudo kill -KILL 1 # kernel oops !!!! 

@hiboma
Copy link
Author

hiboma commented Feb 23, 2013

linux-3.7.9 
Linux hibomac 3.7.9 #2 SMP Sat Feb 23 02:34:39 JST 2013 x86_64 x86_64 x86_64 GNU/Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment