diff options
author | Roland McGrath <roland@gnu.org> | 2004-02-10 21:42:05 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-02-10 21:42:05 +0000 |
commit | 6b1ecbc6e533eb7f2395623dccb2f80d94dae764 (patch) | |
tree | 2546094869048a5e3c65c5effcdd64682a6c35f9 /libports | |
parent | b69041235d4c3b5d5d392fb0ae2f54d44e25e841 (diff) |
2004-01-15 Roland McGrath <roland@frob.com>
* priv.h (struct execdata.info.elf): Add `execstack' flag.
* exec.c (check_elf_phdr): Set it according to PT_GNU_STACK's PF_X
flag bit. If no PT_GNU_STACK, default to set.
(do_exec): If flag is clear, remove execute permission from stack.
Diffstat (limited to 'libports')
0 files changed, 0 insertions, 0 deletions