summaryrefslogtreecommitdiffstats
path: root/sys/compat/svr4/svr4_sysvec.c
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/compat/svr4/svr4_sysvec.c
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/compat/svr4/svr4_sysvec.c')
-rw-r--r--sys/compat/svr4/svr4_sysvec.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/compat/svr4/svr4_sysvec.c b/sys/compat/svr4/svr4_sysvec.c
index c7d67ff..1d4ad6e 100644
--- a/sys/compat/svr4/svr4_sysvec.c
+++ b/sys/compat/svr4/svr4_sysvec.c
@@ -172,7 +172,7 @@ struct sysentvec svr4_sysvec = {
bsd_to_svr4_sig,
ELAST, /* ELAST */
bsd_to_svr4_errno,
- 0,
+ NULL,
svr4_fixup,
svr4_sendsig,
svr4_sigcode,
@@ -181,7 +181,15 @@ struct sysentvec svr4_sysvec = {
"SVR4",
elf32_coredump,
NULL,
- SVR4_MINSIGSTKSZ
+ SVR4_MINSIGSTKSZ,
+ PAGE_SIZE,
+ VM_MIN_ADDRESS,
+ VM_MAXUSER_ADDRESS,
+ USRSTACK,
+ PS_STRINGS,
+ VM_PROT_ALL,
+ exec_copyout_strings,
+ exec_setregs
};
Elf32_Brandinfo svr4_brand = {
OpenPOWER on IntegriCloud