1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00
* sysdeps/unix/sysv/linux/dl-execstack.c
	(_dl_make_stack_executable): Remember that we changed the permission.
This commit is contained in:
Ulrich Drepper
2003-09-25 03:31:59 +00:00
parent 279f1143af
commit 69c9fa045b
4 changed files with 23 additions and 0 deletions

View File

@ -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)