summaryrefslogtreecommitdiffstats
path: root/sys/alpha/linux
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-09-01 21:41:24 +0000
committerjake <jake@FreeBSD.org>2002-09-01 21:41:24 +0000
commitce650f8c333de3130e1beb1e3caa213af385e085 (patch)
treed075a9970497c96d66b9507960a9e101b7f40fb7 /sys/alpha/linux
parentae4b45674cf31dbfe2ca333e6d3b5faf3f214ff4 (diff)
downloadFreeBSD-src-ce650f8c333de3130e1beb1e3caa213af385e085.zip
FreeBSD-src-ce650f8c333de3130e1beb1e3caa213af385e085.tar.gz
Added fields for VM_MIN_ADDRESS, PS_STRINGS and stack protections to
sysentvec. Initialized all fields of all sysentvecs, which will allow them to be used instead of constants in more places. Provided stack fixup routines for emulations that previously used the default.
Diffstat (limited to 'sys/alpha/linux')
-rw-r--r--sys/alpha/linux/linux_sysvec.c18
1 files changed, 13 insertions, 5 deletions
diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c
index 52af25f..9e9e1f9 100644
--- a/sys/alpha/linux/linux_sysvec.c
+++ b/sys/alpha/linux/linux_sysvec.c
@@ -179,19 +179,27 @@ struct sysentvec elf_linux_sysvec = {
linux_sysent,
0,
0,
+ NULL,
0,
- 0,
- 0,
- 0,
+ NULL,
+ NULL,
elf_linux_fixup,
osendsig,
linux_sigcode,
&linux_szsigcode,
- 0,
+ NULL,
"Linux ELF",
elf64_coredump,
exec_linux_imgact_try,
- LINUX_MINSIGSTKSZ
+ LINUX_MINSIGSTKSZ,
+ PAGE_SIZE,
+ VM_MIN_ADDRESS,
+ VM_MAXUSER_ADDRESS,
+ USRSTACK,
+ PS_STRINGS,
+ VM_PROT_ALL,
+ exec_copyout_strings,
+ exec_setregs
};
static Elf64_Brandinfo linux_brand = {
OpenPOWER on IntegriCloud