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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Gowrishankar M (gowrishankar.m@xxxxxxxxxxxxxxxxxx):
> From: Gowrishankar M <gomuthuk@xxxxxxxxxxxxxxxxxx>
> 
> 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@xxxxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux