Re: pid namespace bug ?

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

 



Sukadev Bhattiprolu <sukadev@xxxxxxxxxxxxxxxxxx> writes:

> Daniel Lezcano [daniel.lezcano@xxxxxxx] wrote:
>
>>> Besides a realistic container-init would block such signals, in which case
>>> the complexity in the kernel could be viewed as unnecessary.
>>
>> I am not sure it is good to have the pid 1 immune against signals sent  
>> from outside of the container.
>
> cinit is only immune to unhandled signals that terminate/stop the cinit.
> If a handler is defined for SIGINT, a SIGINT from parent-ns will still be
> delivered but a SIGINT from a descendant of cinit will be ignored.

So is it impossible to send SIGINT to cinit from the container, even if
it has a handler for that?  Your other reply (and the note in kill(2))
seems to say it's possible, so I'm confused again...
-- 
Thanks,
Feri.
_______________________________________________
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