summaryrefslogtreecommitdiffstats
path: root/libc/private
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-12-09 20:30:23 -0800
committerElliott Hughes <enh@google.com>2014-12-09 20:30:23 -0800
commita381fe8ebcd196614a00f4dca3539e0860ef9e84 (patch)
tree3554d98520ded579dcc9ad2e5e4f36e23f3f7b5f /libc/private
parent3592743f7191c69ae1fd2d7e01222bd380d93d3e (diff)
downloadbionic-a381fe8ebcd196614a00f4dca3539e0860ef9e84.zip
bionic-a381fe8ebcd196614a00f4dca3539e0860ef9e84.tar.gz
bionic-a381fe8ebcd196614a00f4dca3539e0860ef9e84.tar.bz2
Fix ptsname(3) and ttyname(3) to use TLS.
Be safe by default. Change-Id: I6c4a3f1fd4eee3a651b3162ce95b7e873de57521
Diffstat (limited to 'libc/private')
-rw-r--r--libc/private/bionic_tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/private/bionic_tls.h b/libc/private/bionic_tls.h
index 56a61be..0c6e062 100644
--- a/libc/private/bionic_tls.h
+++ b/libc/private/bionic_tls.h
@@ -76,7 +76,7 @@ enum {
* pthread_key_create; grep for GLOBAL_INIT_THREAD_LOCAL_BUFFER to find those. We need to manually
* maintain that second number, but pthread_test will fail if we forget.
*/
-#define GLOBAL_INIT_THREAD_LOCAL_BUFFER_COUNT 5
+#define GLOBAL_INIT_THREAD_LOCAL_BUFFER_COUNT 9
#if defined(USE_JEMALLOC)
/* jemalloc uses 5 keys for itself. */