From owner-freebsd-security Thu Nov 27 14:49:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA28477 for security-outgoing; Thu, 27 Nov 1997 14:49:46 -0800 (PST) (envelope-from owner-freebsd-security) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA28455; Thu, 27 Nov 1997 14:49:37 -0800 (PST) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id JAA02497; Thu, 27 Nov 1997 09:07:31 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp01.primenet.com, id smtpd002470; Thu Nov 27 09:07:22 1997 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id PAA13327; Thu, 27 Nov 1997 15:48:55 -0700 (MST) From: Terry Lambert Message-Id: <199711272248.PAA13327@usr07.primenet.com> Subject: Re: Updated f00f workaround To: sef@kithrup.com Date: Thu, 27 Nov 1997 22:48:55 +0000 (GMT) Cc: hackers@freebsd.org, security@freebsd.org In-Reply-To: <199711271954.LAA24160@kithrup.com> from "Sean Eric Fagan" at Nov 27, 97 11:54:14 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-security@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Okay, I took Stephen McKay's suggestions to heart, and here are what I hope > are the final diffs. I'm currently running this kernel in multiuser mode, > and haven't noticed any problems (yet, anyway ;)). Overhead should be > minimal. This is going to sound wierd, because it means you would need to include replacement trap() and trap_pfault() code, but... Any chance of writing this as an LKM? This would allow binary patch for those people who can't/won't recompile their kernels, and would make it an administrative choice. It would also make it easier to carry between versions (I thought of this because you used a SYSINIT() for it). I've often thought that the FPU emulator should be done this way, and the math libraries and FPU instruction inlining not be special cased... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.