242fae60f0
stacks near the top of their address space. If their TOS is greater than vm_maxsaddr, vm_map_growstack() will confuse the thread stack with the process stack and deliver a SEGV if they attempt to grow the thread stack past their current stacksize rlimit. To avoid this, adjust vm_maxsaddr upwards to reflect the current stacksize rlimit rather than the maximum possible stacksize. It would be better to adjust the mmap'ed region, but some apps (again, IBM's JDK 1.3) do not check mmap's return value.. This commit (in conjunction with setting MINSIGSTKSZ to 2048 & rebuilding your kernel and modules) will get IBM's JDK 1.3 working with FreeBSD at least well enough to run many of the example applets. Reviewed by: marcel Tested by: sto@stat.duke.edu, many others on freebsd-java@ |
||
---|---|---|
.. | ||
linprocfs | ||
imgact_linux.c | ||
linux_dummy.c | ||
linux_genassym.c | ||
linux_locore.s | ||
linux_machdep.c | ||
linux_proto.h | ||
linux_syscall.h | ||
linux_sysent.c | ||
linux_sysvec.c | ||
linux.h | ||
Makefile | ||
syscalls.conf | ||
syscalls.master |