Date: Fri, 24 Apr 1998 13:31:00 +1000 From: Bruce Evans <bde@zeta.org.au> To: dg@root.com, 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: <199804240331.NAA29708@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804240331.NAA29708>