diff options
author | jake <jake@FreeBSD.org> | 2002-09-01 21:41:24 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-09-01 21:41:24 +0000 |
commit | ce650f8c333de3130e1beb1e3caa213af385e085 (patch) | |
tree | d075a9970497c96d66b9507960a9e101b7f40fb7 /sys/compat/pecoff | |
parent | ae4b45674cf31dbfe2ca333e6d3b5faf3f214ff4 (diff) | |
download | FreeBSD-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/pecoff')
-rw-r--r-- | sys/compat/pecoff/imgact_pecoff.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/sys/compat/pecoff/imgact_pecoff.c b/sys/compat/pecoff/imgact_pecoff.c index da9a76a..9b09632 100644 --- a/sys/compat/pecoff/imgact_pecoff.c +++ b/sys/compat/pecoff/imgact_pecoff.c @@ -95,10 +95,10 @@ static struct sysentvec pecoff_sysvec = { sysent, 0, 0, + NULL, 0, - 0, - 0, - 0, + NULL, + NULL, pecoff_fixup, sendsig, sigcode, @@ -107,7 +107,15 @@ static struct sysentvec pecoff_sysvec = { "FreeBSD PECoff", pecoff_coredump, NULL, - MINSIGSTKSZ + MINSIGSTKSZ, + PAGE_SIZE, + VM_MIN_ADDRESS, + VM_MAXUSER_ADDRESS, + USRSTACK, + PS_STRINGS, + VM_PROT_ALL, + exec_copyout_strings, + exec_setregs }; |