summary refs log tree commit diff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-01-16 08:21:37 +0000
committerRichard Henderson <rth@redhat.com>2004-01-16 08:21:37 +0000
commitd0369217f1e42b9a19ce1f13ded9873c9575875a (patch)
treebf2260c33bff9a13a6372b717e445631d8b208c2 /include/unistd.h
parentff151400d89760e9f4b761c14b311e42bc9058bf (diff)
downloadglibc-d0369217f1e42b9a19ce1f13ded9873c9575875a.tar.gz
glibc-d0369217f1e42b9a19ce1f13ded9873c9575875a.tar.xz
glibc-d0369217f1e42b9a19ce1f13ded9873c9575875a.zip
* include/unistd.h (__libc_enable_secure): Mark attribute_relro. (__libc_enable_secure_internal): Likewise.
        * include/unistd.h (__libc_enable_secure): Mark attribute_relro.
        (__libc_enable_secure_internal): Likewise.
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h
index a66e97822d..249171acf4 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -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