freebsd-dev/sys/compat
Alexander Leidinger bb63fdde6d By using the 32-bit Linux version of Sun's Java Development Kit 1.6
on FreeBSD (amd64), invocations of "javac" (or "java") eventually
end with the output of "Killed" and exit code 137.

This is caused by:
1. After calling exec() in multithreaded linux program threads are not
   destroyed and continue running. They get killed after program being
   executed finishes.

2. linux_exit_group doesn't return correct exit code when called not
   from group leader. Which happens regularly using sun jvm.

The submitters fix this in a similar way to how NetBSD handles this.

I took the PRs away from dchagin, who seems to be out of touch of
this since a while (no response from him).

The patches committed here are from [2], with some little modifications
from me to the style.

PR:		141439 [1], 144194 [2]
Submitted by:	Stefan Schmidt <stefan.schmidt@stadtbuch.de>, gk
Reviewed by:	rdivacky (in april 2010)
MFC after:	5 days
2010-11-22 09:06:59 +00:00
..
freebsd32 Supply some useful information to the started image using ELF aux vectors. 2010-08-17 08:55:45 +00:00
ia32 Reorganize syscall entry and leave handling. 2010-05-23 18:32:02 +00:00
linprocfs Break long line. 2010-11-08 15:14:14 +00:00
linsysfs Remove no-op assignment. 2010-11-15 23:14:14 +00:00
linux By using the 32-bit Linux version of Sun's Java Development Kit 1.6 2010-11-22 09:06:59 +00:00
ndis Fix a panic on i386 for drivers using MmAllocateContiguousMemory() 2010-11-17 09:32:39 +00:00
netbsd
svr4 Add macro DECLARE_MODULE_TIED to denote a module as requiring the 2010-10-12 09:18:17 +00:00
x86bios Prefer pmap_unmapbios() over pmap_unmapdev(). The binary does not change 2010-10-05 18:38:23 +00:00