This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
>>>>> On Wed, 24 Sep 2003 21:36:22 +0200, Jakub Jelinek <jakub@redhat.com> said: Jakub> The only special arches here are ia64 and ppc64, as there Jakub> trampolines don't actually need executable stack. Because of Jakub> this I chose not to add .note.GNU-stack/PT_GNU_STACK marking Jakub> for these two arches. Unfortunately, on both these arches Jakub> kernel defaults to executable stack as I found out today and Jakub> thus there can be programs which rely on this and so for Jakub> binary compatibility need to be assumed as needing executable Jakub> stack too. Why do you say this? $ uname -a Linux wailua.hpl.hp.com 2.6.0-test5 #30 Tue Sep 16 11:28:09 PDT 2003 ia64 GNU/Linux $ cat /proc/self/maps |grep 60000fff7 60000fff7fffc000-60000fff80000000 rw-p 00000000 00:00 0 We stopped turning on execute permission some time again (2.4.1x). For ia64 Linux, there is an ELF OS flag which can be set to force executable data/stack (the user-tool to do this is called "chatr"). --david
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |