On Thu, 2008-12-11 at 19:17 +0530, Subrata Modak wrote:
> On Fri, 2008-12-05 at 08:32 +0100, [EMAIL PROTECTED] wrote:
> > 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.
> 
> Thanks Nadia for proposing to add these 2 new tests in the PIDNS domain.
> But there are already tests that exist in the same name(s) in present
> LTP:
> 
> http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/kernel/containers/pidns/
> 
> Can you please choose successive names (pidns07.c & pidns08.c) for your
> new test cases and resend me in new Patchsets ?

Oops, I'm afraid my ltp basis is a bit too old? Will resend you that in
a while.

Regards,
Nadia

> 
> Regards--
> Subrata
> 
> > 
> > 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
> > 
> 
> 
-- 
Nadia Derbey <[EMAIL PROTECTED]>


------------------------------------------------------------------------------
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

Reply via email to