File pam_unix2-2.7.3-logindefs-thread.diff of Package pam-modules.import5556
Index: pam_unix2-2.7.4/src/logindefs.c
===================================================================
--- pam_unix2-2.7.4/src/logindefs.c.orig
+++ pam_unix2-2.7.4/src/logindefs.c
@@ -33,7 +33,7 @@ struct item {
struct item *next; /* pointer to next option. */
};
-static struct item *list = NULL;
+static __thread struct item *list = NULL;
void
free_getlogindefs_data (void)