----- Original Message -----
> From: "Jan Stancek" <[email protected]>
> To: [email protected]
> Sent: Friday, 26 October, 2012 12:54:37 PM
> Subject: [LTP] [PATCH] ipc/shmat: pick suitable base_addr before each testcase
> 
> This test picked fixed address in setup() which was used throughout
> the test. There has been reports that it can fail with EINVAL.
> 
> I could reproduce it by adding single printf in between
> detach/attach:
> http://article.gmane.org/gmane.linux.ltp/16480
> 
> This patch picks suitable base_addr before each test. So even if
> glibc
> would mmap extra page with addr == base_addr picked by setup(),
> new suitable address will be chosen.
> 
> Signed-off-by: Jan Stancek <[email protected]>

I'll send v2, getipckey() appears to return only few unique
keys and after couple loops this fails because it returns key
which already exists.

Regards,
Jan

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to