Blame SOURCES/glibc-rh767746.patch

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