freebsd-dev/sys/i386/linux
Andrew Gallatin 931a725809 This is the first of 3 commits that will get IBM's JDK 1.3 working
with FreeBSD (not including the MINSIGSTKSZ issue, which belongs to
Marcel).  Due to time constraints, I'm going to space them out over a
few days.

This fixes two problems with linux_sigaltstack()

o ss == 0 is perfectly valid use, so do not fail in this case.

o Fix flag handling:
 - Our SS_DISABLE is 4, linux's is 2, so we need conversion routines.
	These conversion routines will be needed by linux_rt_sendsig()
	and linux_rt_sigreturn (forthcoming), so they are not static.
 - Linux's flag 0 historically meant SS_ONSTACK according to a comment
	in their linux/kernel/signal.c file.

Among other things, this fixes a warning from Sun's JDK 1.3:
"Java HotSpot(TM) Client VM warning: cannot uninstall alt signal stack"

Reviewed by: marcel
Tested by:   sto@stat.duke.edu, many others on freebsd-java@
2000-10-13 01:57:43 +00:00
..
linprocfs Mark directories as directories, not as regular files. 2000-10-10 12:32:44 +00:00
imgact_linux.c Fix #! script exec under linux emulation. If a script is exec'd from a 2000-04-26 20:58:40 +00:00
linux_dummy.c Revert implementation of setfsuid and setfsgid due to security 2000-07-20 05:37:41 +00:00
linux_genassym.c Include <stddef.h> here so that <sys/assym.h> can be unpolluted. 2000-01-08 19:53:18 +00:00
linux_locore.s AT&T asm syntax requires a leading '*' in front of the operand for indirect 2000-05-10 01:21:15 +00:00
linux_machdep.c This is the first of 3 commits that will get IBM's JDK 1.3 working 2000-10-13 01:57:43 +00:00
linux_proto.h Regen. (Fix SYS_exit) 2000-07-29 10:07:38 +00:00
linux_syscall.h Regen. (Fix SYS_exit) 2000-07-29 10:07:38 +00:00
linux_sysent.c Regen. (Fix SYS_exit) 2000-07-29 10:07:38 +00:00
linux_sysvec.c Update include directives for Linuxulator headers after the 2000-08-22 05:57:55 +00:00
linux.h This is the first of 3 commits that will get IBM's JDK 1.3 working 2000-10-13 01:57:43 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
syscalls.conf $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
syscalls.master Sigh. Fix SYS_exit problems. I misunderstood the significance of these 2000-07-29 10:05:25 +00:00