]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* include/unistd.h (__libc_enable_secure): Mark attribute_relro. ...
authorRichard Henderson <rth@redhat.com>
Fri, 16 Jan 2004 08:21:37 +0000 (08:21 +0000)
committerRichard Henderson <rth@redhat.com>
Fri, 16 Jan 2004 08:21:37 +0000 (08:21 +0000)
        * include/unistd.h (__libc_enable_secure): Mark attribute_relro.
        (__libc_enable_secure_internal): Likewise.

ChangeLog
include/unistd.h

index 3797214864de89bdd91fecca99507b20fe6e18ff..2f390dc4d6a6bbe5150329812bc1ee580d254022 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-01-16  Richard Henderson  <rth@redhat.com>
 
+        * include/unistd.h (__libc_enable_secure): Mark attribute_relro.
+        (__libc_enable_secure_internal): Likewise.
+
         * elf/dl-load.c: Don't declare __libc_stack_end.
         * sysdeps/generic/libc-start.c: Likewise.
         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
index a66e97822dfbc612b9ae2be31893dedd75189e17..249171acf407faf6867064a83b383ed1e54ac776 100644 (file)
@@ -139,11 +139,11 @@ libc_hidden_proto (__sbrk)
    extra security should be used.  When this is set the dynamic linker
    and some functions contained in the C library ignore various
    environment variables that normally affect them.  */
-extern int __libc_enable_secure;
+extern int __libc_enable_secure attribute_relro;
 extern int __libc_enable_secure_decided;
 #ifdef IS_IN_rtld
 /* XXX The #ifdef should go.  */
-extern int __libc_enable_secure_internal attribute_hidden;
+extern int __libc_enable_secure_internal attribute_relro attribute_hidden;
 #endif