]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nptl/tst-tls4moda.c
Further harden glibc malloc metadata against 1-byte overflows.
[thirdparty/glibc.git] / nptl / tst-tls4moda.c
index 7edcc618739893756bfe3fd03226fda0f985f3cd..cd44f4ec987560c19f0dfcff5fae412579e7c91a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003-2014 Free Software Foundation, Inc.
+/* Copyright (C) 2003-2017 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
 
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#include <stdio.h>
+#include <stddef.h>
 #include <stdlib.h>
-#include <unistd.h>
-#include <tls.h>
-
 
 static __thread unsigned char foo [32]
   __attribute__ ((tls_model ("initial-exec"), aligned (sizeof (void *))));