From 69c9fa045bce5e125e2e4525eb62ec58965e92f5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 25 Sep 2003 03:31:59 +0000 Subject: Update. * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable): Remember that we changed the permission. --- sysdeps/unix/sysv/linux/dl-execstack.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysdeps/unix/sysv/linux/dl-execstack.c') 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) -- cgit v1.2.1