From d555194cb3d236bda07fa9ef08f4f7020421763a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 7 Feb 2002 17:54:45 +0000 Subject: Update. 2002-02-07 Andreas Schwab * configure.in: Fix check for -zcombreloc. 2002-02-06 H.J. Lu * config.h.in (HAVE_BUILTIN_MEMSET): New. * configure.in: Check if __builtin_memset really works. * elf/rtld.c (_dl_start): Check HAVE_BUILTIN_MEMSET instead of __GNUC_PREREQ (2, 96) before using __builtin_memset. 2002-02-06 Jakub Jelinek * io/bug-ftw3.c (main): Don't try the test if root. 2002-02-06 Martin Schwidefsky * sysdeps/unix/sysv/linux/s390/brk.c (__brk): Correct inline assembly constraints. * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h (RLIMIT_LOCKS): Add RLIMIT_LOCKS and adjust RLIMIT_NLIMITS. * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h (RLIMIT_LOCKS): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (clone): Make clone a weak alias for __clone. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (clone): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: Fix typo. * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add framestate. * sysdeps/unix/sysv/linux/s390/s390-64/Versions: New file. * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S (__mmap64): Make __mmap a weak alias for __mmap64. * sysdeps/mips/atomicity.h (exchange_and_add): Not use branch likely. * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise. * sysdeps/generic/dl-tls.c: Don't read TLS header if TLS is not needed. --- io/bug-ftw3.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'io/bug-ftw3.c') diff --git a/io/bug-ftw3.c b/io/bug-ftw3.c index fcc2ca7bba..19740f49f3 100644 --- a/io/bug-ftw3.c +++ b/io/bug-ftw3.c @@ -25,6 +25,12 @@ main (void) int r; int e; + if (getuid () == 0) + { + puts ("this test needs to be run by ordinary user"); + exit (0); + } + dname = mkdtemp (tmp); if (dname == NULL) { -- cgit v1.2.3