diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-09-25 03:31:59 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-09-25 03:31:59 +0000 |
commit | 69c9fa045bce5e125e2e4525eb62ec58965e92f5 (patch) | |
tree | 82128d16507f4f4a92caec8e3e5ae248b1f23c7c /sysdeps | |
parent | 279f1143afdb06e263dfab510a3e2cbb022014fe (diff) | |
download | glibc-69c9fa045bce5e125e2e4525eb62ec58965e92f5.tar.gz |
Update.
* sysdeps/unix/sysv/linux/dl-execstack.c
(_dl_make_stack_executable): Remember that we changed the permission.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/dl-execstack.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/dl-execstack.c b/sysdeps/unix/sysv/linux/dl-execstack.c index 42300b0f4d..c840f61031 100644 --- a/sysdeps/unix/sysv/linux/dl-execstack.c +++ b/sysdeps/unix/sysv/linux/dl-execstack.c @@ -110,6 +110,9 @@ _dl_make_stack_executable (void) # error "Define either _STACK_GROWS_DOWN or _STACK_GROWS_UP" #endif + /* Remember that we changed the permission. */ + GL(dl_stack_flags) |= PF_X; + return 0; } rtld_hidden_def (_dl_make_stack_executable) |