Mike Frysinger napsal(a):
> On Tuesday 05 January 2010 20:05:17 Jiri Palecek wrote:
>> Michal, I suspect the failures you see are somehow related to alignment
>>   (that your architecture doesn't like odd addresses). Is that right? Under
>>   x86, the address gets aligned (so some of the space is unused).
>>
>> Perhaps both of these behaviors should be tested by LTP?
>
> i dont think such tests would be reliable or useful ?

I don't think so. The set of addresses that can be successfully passed to 
clone() and the actual space the stack will occupy with the given parameters 
are 
definitely part of the interface (because the user cannot use the interface 
correctly without knowing these), therefore testing them is useful, and they 
should be quite easily testable, although the test would be 
architecture-dependent, but oh well, so is the whole clone() syscall.

Regards
     Jiri Palecek

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to