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
--
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list