diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-09-20 15:08:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-09-20 15:08:26 +0000 |
commit | 664e7d93f93d421225a115a433d0dbbc40444daa (patch) | |
tree | 4836bcb5fb8b2c910932840d7a0f1a79529ee033 /sysdeps/unix/sysv/linux/dl-execstack.c | |
parent | 54beacabbe34d033abcf9545c28f091ae06e944b (diff) | |
download | glibc-664e7d93f93d421225a115a433d0dbbc40444daa.tar.gz |
Update.
2004-09-20 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c: Define __stack_prot.
* sysdeps/unix/sysv/linux/dl-execstack.c: Don't define
__stack_prot here, just declare it.
Diffstat (limited to 'sysdeps/unix/sysv/linux/dl-execstack.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/dl-execstack.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/dl-execstack.c b/sysdeps/unix/sysv/linux/dl-execstack.c index c2b964bf7f..97ff5d0e62 100644 --- a/sysdeps/unix/sysv/linux/dl-execstack.c +++ b/sysdeps/unix/sysv/linux/dl-execstack.c @@ -28,12 +28,7 @@ #include "kernel-features.h" -int __stack_prot attribute_hidden attribute_relro -#if _STACK_GROWS_DOWN - = PROT_READ|PROT_WRITE|PROT_GROWSDOWN; -#elif _STACK_GROWS_UP - = PROT_READ|PROT_WRITE|PROT_GROWSUP; -#endif +extern int __stack_prot attribute_relro attribute_hidden; int |