From owner-cvs-all Thu Oct 12 18:57:48 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 52F8F37B503; Thu, 12 Oct 2000 18:57:44 -0700 (PDT) Received: (from gallatin@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA84043; Thu, 12 Oct 2000 18:57:44 -0700 (PDT) (envelope-from gallatin@FreeBSD.org) Message-Id: <200010130157.SAA84043@freefall.freebsd.org> From: Andrew Gallatin Date: Thu, 12 Oct 2000 18:57:44 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/linux linux.h linux_machdep.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG gallatin 2000/10/12 18:57:44 PDT Modified files: sys/i386/linux linux.h linux_machdep.c Log: 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@ Revision Changes Path 1.44 +9 -1 src/sys/i386/linux/linux.h 1.4 +40 -11 src/sys/i386/linux/linux_machdep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message