Date: Thu, 23 Apr 1998 17:30:02 -0700 From: David Greenman <dg@root.com> To: Fred Gilham <gilham@csl.sri.com> Cc: freebsd-bugs@hub.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. Message-ID: <199804240030.RAA28769@implode.root.com> In-Reply-To: Your message of "Thu, 23 Apr 1998 17:10:01 PDT." <199804240010.RAA22153@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>The following reply was made to PR kern/6389; it has been noted by GNATS. > >From: Fred Gilham <gilham@csl.sri.com> >To: Mike Smith <mike@smith.net.au> >Cc: Eivind Eklund <eivind@yes.no>, 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 17:01:47 -0700 > > Mike asked: > >Just of curiosity, how does this handle the case where the traphandler > >does: > > > > psignal(); > > return; > > > >ie. never gets to the trapsignal() call? > > Note that the trap() function is basically broken into a user trap > branch and a kernel trap branch. > > Your scenario would only happen in the kernel trap branch of the > trap() function. I'd actually verified that just fixing what the > T_PROTFLT case does in the user trap branch would make ACL work. So I > was pretty sure I didn't need to worry about the kernel branch. > However, that does somewhat limit the generality of the fix. But I > don't know enough to know whether it's even desirable to translate > things that happen in the kernel trap branch. > > I think someone who understands how the trap stuff works needs to > review this change. I haven't been following this thread, but the kernel branch is only for traps that occur within the kernel. You would not want any translation to occur there. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804240030.RAA28769>