From owner-freebsd-bugs Thu Apr 23 12:30:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA10900 for freebsd-bugs-outgoing; Thu, 23 Apr 1998 12:30:05 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA10857; Thu, 23 Apr 1998 12:30:01 -0700 (PDT) (envelope-from gnats) Date: Thu, 23 Apr 1998 12:30:01 -0700 (PDT) Message-Id: <199804231930.MAA10857@hub.freebsd.org> To: freebsd-bugs Cc: From: Eivind Eklund Subject: Re: kern/6389: Need to be able to access trap-to-signal mapping to for Linux emulation to allow Allegro Common Lisp (and maybe other apps) to run. Reply-To: Eivind Eklund Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/6389; it has been noted by GNATS. From: Eivind Eklund To: Mike Smith Cc: gilham@csl.sri.com, freebsd-gnats-submit@FreeBSD.ORG Subject: Re: kern/6389: Need to be able to access trap-to-signal mapping to for Linux emulation to allow Allegro Common Lisp (and maybe other apps) to run. Date: Thu, 23 Apr 1998 21:25:59 +0200 On Thu, Apr 23, 1998 at 12:07:24PM -0700, Mike Smith wrote: > > I've gone through these changes and fixed style-problems; here are the > > changes as diffs against today's current with hopefully OK stule. > > This pass a LINT compile (I've not yet tested running with a new > > kernel on my own machine; I'll do this in a few minutes). > > Just of curiosity, how does this handle the case where the traphandler > does: > > psignal(); > return; > > ie. never gets to the trapsignal() call? > > In particular, I thought this was the case with the T_PROTFLT trap... The psignal() here is wrapped in if (intr_nesting_level == 0) { which seems to not trigger, at least not for the Linux emulator case. I run with the patch, and it _do_ make Allegro Common Lisp for Linux work properly. If somebody that know this code (trap.c with friends) better than me care to comment, that would be nice. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message