From: <Nad...@bu...> - 2008-12-05 07:40:39
|
Hi Subrata, This is a proposal for 2 new testcases in the pidns testcases. They are related to signal management during POSIX message queues notification on message arrival. Could you please review them? If a process registers for asynchronous notification on a POSIX message queue, it gets a signal and a siginfo_t structure when a message arrives on the message queue. The si_pid in the siginfo_t structure is set to the PID of the process that sent the message. If the process that sent the message is not in the same namespace as the notified one, this should be taken into account. pidns04 : notified process is in a descendant namespace wrt to the notifier. so the signal receiver doesn't know about the sender's pid. pidns05 : notified process is in an ancestor namespace wrt to the notifier. so the signal receiver should get the sender's PID in the signal receiver namespace. They currently fail, since the si_pid is not correctly set. But I just proposed a patch to fix this (see http://lkml.org/lkml/2008/12/5/13). Regards, Nadia -- |