[Devel] Re: [PATCH 2/5] pid: use namespaced iteration on processes while using sysrq

Serge E. Hallyn serue at us.ibm.com
Thu Dec 18 09:12:03 PST 2008


Quoting Gowrishankar M (gowrishankar.m at linux.vnet.ibm.com):
> From: Gowrishankar M <gomuthuk at linux.vnet.ibm.com>
> 
> At present, while signalling processes using sysrq, process iteration
> goes beyond current PID namespace.
> 
> Below patch uses one of the proposed namespace iteration macros to fix
> the boundary.
> 
> Signed-off-by: Gowrishankar M <gowrishankar.m at linux.vnet.ibm.com>

Nack, like Dave said.

For hitting alt-sysrq-t on console, you want to hit the whole
system, not just one ns.

For echo t > /sys/sysrq-trigger, you do though.  Fortunately, you
can tell the difference using check_mask in __hande_sysrq().  So
do that, and either always pass that on to op->handler and check it in
send_sig_all(), or just filter on key there and call a custom handler.

-serge
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list