about summary refs log tree commit diff
path: root/nptl_db
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-09-15 14:48:01 +0200
committerAndreas Schwab <schwab@redhat.com>2011-09-15 15:36:18 +0200
commit7a775e6b3d938586db5a66a76de9c14667151cf9 (patch)
tree522ee03efc1f9aa5006bc3a9fc92b3c6a16b8cc2 /nptl_db
parentedc121be8b53da57950daf6f42a619b5826f30b6 (diff)
downloadglibc-7a775e6b3d938586db5a66a76de9c14667151cf9.tar.gz
glibc-7a775e6b3d938586db5a66a76de9c14667151cf9.tar.xz
glibc-7a775e6b3d938586db5a66a76de9c14667151cf9.zip
Avoid race between {,__de}allocate_stack and __reclaim_stacks during fork
Diffstat (limited to 'nptl_db')
-rw-r--r--nptl_db/ChangeLog4
-rw-r--r--nptl_db/thread_dbP.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/nptl_db/ChangeLog b/nptl_db/ChangeLog
index f79fc18e4b..81ebfcdfc3 100644
--- a/nptl_db/ChangeLog
+++ b/nptl_db/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-15  Andreas Schwab  <schwab@redhat.com>
+
+	* thread_dbP.h: Include <list.h>
+
 2009-08-23  Roland McGrath  <roland@redhat.com>
 
 	* td_ta_map_lwp2thr.c (__td_ta_lookup_th_unique): Move ta_ok check
diff --git a/nptl_db/thread_dbP.h b/nptl_db/thread_dbP.h
index e5db9bf94b..54f5fc8331 100644
--- a/nptl_db/thread_dbP.h
+++ b/nptl_db/thread_dbP.h
@@ -1,5 +1,5 @@
 /* Private header for thread debug library
-   Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2004, 2007, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -29,6 +29,7 @@
 #include "proc_service.h"
 #include "thread_db.h"
 #include "../nptl/pthreadP.h"  	/* This is for *_BITMASK only.  */
+#include <list.h>
 
 /* Indeces for the symbol names.  */
 enum