From owner-freebsd-bugs Thu Apr 23 20:35:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA14088 for freebsd-bugs-outgoing; Thu, 23 Apr 1998 20:35:50 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA14083 for ; Thu, 23 Apr 1998 20:35:48 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id NAA29708; Fri, 24 Apr 1998 13:31:00 +1000 Date: Fri, 24 Apr 1998 13:31:00 +1000 From: Bruce Evans Message-Id: <199804240331.NAA29708@godzilla.zeta.org.au> To: dg@root.com, gilham@csl.sri.com 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. Cc: freebsd-bugs@hub.freebsd.org Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> 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. Some kernel-mode traps and some errors are converted to user-mode signals by calling psignal(signo). The issue is whether the correct signo is used. Emulators can't fix it up because they don't have enough context. It probably doesn't actually matter which signal is delivered for attempts to open security holes :-). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message