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]

 



On Thu, 2008-12-18 at 22:12 +0530, Gowrishankar M wrote:
> 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.

I think this is a really bad idea.  Maybe not for 'echo t
> /proc/sysrq-trigger', but definitely for the console triggers.

The sysrq code can get called via the serial console code.  That may
even get processed during softirqs so the current process may not have
anything to do with what the user is typing into.  That's just one
example.  I bet there are a bunch more.

What problem does this patch solve anyway?

-- Dave

_______________________________________________
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