summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2005-09-13 20:54:00 +0000
committermarcel <marcel@FreeBSD.org>2005-09-13 20:54:00 +0000
commitfcaf44b2110d1cf196fcb553a01259593a29ce94 (patch)
treefc1c925b7a4ca8344a5ecbbae377d8e8e74e62b5 /sys
parent12b6d396b7dad8b10fa114fc17de41bd07d6280d (diff)
downloadFreeBSD-src-fcaf44b2110d1cf196fcb553a01259593a29ce94.zip
FreeBSD-src-fcaf44b2110d1cf196fcb553a01259593a29ce94.tar.gz
MFC 1.20: Remove the execute permission for stacks.
Approved by: re (blanket)
Diffstat (limited to 'sys')
-rw-r--r--sys/ia64/ia64/elf_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/elf_machdep.c b/sys/ia64/ia64/elf_machdep.c
index 8588815..51902ec 100644
--- a/sys/ia64/ia64/elf_machdep.c
+++ b/sys/ia64/ia64/elf_machdep.c
@@ -76,7 +76,7 @@ struct sysentvec elf64_freebsd_sysvec = {
VM_MAXUSER_ADDRESS,
USRSTACK,
PS_STRINGS,
- VM_PROT_ALL,
+ VM_PROT_READ|VM_PROT_WRITE,
exec_copyout_strings,
exec_setregs,
NULL
OpenPOWER on IntegriCloud