Blame SOURCES/glibc-rh767746.patch

4999bf
--- a/nptl/pthread_create.c	2011-12-13 11:41:37.000000000 -0700
4999bf
+++ b/nptl/pthread_create.c	2011-12-14 10:03:13.000000000 -0700
4999bf
@@ -440,8 +440,9 @@
4999bf
   int err = ALLOCATE_STACK (iattr, &pd;;
4999bf
   if (__builtin_expect (err != 0, 0))
4999bf
     /* Something went wrong.  Maybe a parameter of the attributes is
4999bf
-       invalid or we could not allocate memory.  */
4999bf
-    return err;
4999bf
+       invalid or we could not allocate memory.  Note we have to
4999bf
+       translate error codes.  */
4999bf
+    return err == ENOMEM ? EAGAIN : err;
4999bf
 
4999bf
 
4999bf
   /* Initialize the TCB.  All initializations with zero should be