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/i386/linux/linux_sysvec.c | |
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/i386/linux/linux_sysvec.c')
-rw-r--r-- | sys/i386/linux/linux_sysvec.c | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c index a5ebc0a..f222089 100644 --- a/sys/i386/linux/linux_sysvec.c +++ b/sys/i386/linux/linux_sysvec.c @@ -774,7 +774,15 @@ struct sysentvec linux_sysvec = { "Linux a.out", aout_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 }; struct sysentvec elf_linux_sysvec = { @@ -794,7 +802,15 @@ struct sysentvec elf_linux_sysvec = { "Linux ELF", elf32_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 Elf32_Brandinfo linux_brand = { |