2003-09-25 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Thu, 25 Sep 2003 23:04:12 +0000 (23:04 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 25 Sep 2003 23:04:12 +0000 (23:04 +0000)
commite95dc10c40a2a2867aec1bbbb145cf1da022f729
treebe212c70865304aef477b35074fa93449c929475
parent55715bfca6b803d78847f51219e8d1d4ff7b4902
2003-09-25  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
Don't check for zero __libc_stack_end, it should be initialized.
[_STACK_GROWS_DOWN] [PROT_GROWSDOWN]: Try using PROT_GROWSDOWN flag
and fall back if it fails with EINVAL.
[_STACK_GROWS_UP] [PROT_GROWSUP]: Likewise for PROT_GROWSUP.
sysdeps/unix/sysv/linux/dl-execstack.c