* 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.
This commit is contained in:
parent
ff151400d8
commit
d0369217f1
|
@ -1,5 +1,8 @@
|
||||||
2004-01-16 Richard Henderson <rth@redhat.com>
|
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.
|
* elf/dl-load.c: Don't declare __libc_stack_end.
|
||||||
* sysdeps/generic/libc-start.c: Likewise.
|
* sysdeps/generic/libc-start.c: Likewise.
|
||||||
* sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
|
* sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
|
||||||
|
|
|
@ -139,11 +139,11 @@ libc_hidden_proto (__sbrk)
|
||||||
extra security should be used. When this is set the dynamic linker
|
extra security should be used. When this is set the dynamic linker
|
||||||
and some functions contained in the C library ignore various
|
and some functions contained in the C library ignore various
|
||||||
environment variables that normally affect them. */
|
environment variables that normally affect them. */
|
||||||
extern int __libc_enable_secure;
|
extern int __libc_enable_secure attribute_relro;
|
||||||
extern int __libc_enable_secure_decided;
|
extern int __libc_enable_secure_decided;
|
||||||
#ifdef IS_IN_rtld
|
#ifdef IS_IN_rtld
|
||||||
/* XXX The #ifdef should go. */
|
/* XXX The #ifdef should go. */
|
||||||
extern int __libc_enable_secure_internal attribute_hidden;
|
extern int __libc_enable_secure_internal attribute_relro attribute_hidden;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue