From owner-source-changes@NetBSD.ORG Sat Jan 14 17:08:22 1995 Return-Path: owner-source-changes@NetBSD.ORG Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id RAA16442; Sat, 14 Jan 1995 17:08:21 -0800 Received: (from daemon@localhost) by pain.lcs.mit.edu (8.6.9/8.6.9) id SAA15697 for source-changes-outgoing; Sat, 14 Jan 1995 18:51:38 -0500 Received: from sun-lamp.cs.berkeley.edu by pain.lcs.mit.edu (8.6.9/8.6.9) with ESMTP id SAA15693 for ; Sat, 14 Jan 1995 18:51:29 -0500 Received: (from srcmastr@localhost) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) id RAA02218 for source-changes; Sat, 14 Jan 1995 17:00:04 -0800 Date: Sat, 14 Jan 1995 17:00:04 -0800 From: The Source Master Message-Id: <199501150100.RAA02218@sun-lamp.cs.berkeley.edu> To: source-changes@NetBSD.ORG Subject: sun-lamp CVS commits Sender: owner-source-changes@NetBSD.ORG Precedence: list X-Loop: source-changes@NetBSD.ORG mycroft Sat Jan 14 16:52:24 PST 1995 Update of /b/source/CVS/src/sys/arch/i386/i386 In directory sun-lamp.cs.berkeley.edu:/d/users/mycroft/src/sys/arch/i386/i386 Modified Files: locore.s Log Message: Enable CR0_AM on 486s. (We already handled the fault.) This would be more useful if it applied to the kernel. Avoid btrl when checking AST flag. Add hooks to recover from errors during any INTRFASTEXIT and simulate a user- level protection fault. mycroft Sat Jan 14 16:55:26 PST 1995 Update of /b/source/CVS/src/sys/arch/i386/i386 In directory sun-lamp.cs.berkeley.edu:/d/users/mycroft/src/sys/arch/i386/i386 Modified Files: trap.c Log Message: sigreturn() and ptrace() security violations will now trap. Deal with those traps by looking at the instruction stream and the stack to see if it looks like we're returning to user mode, and if so pop to the hooks in locore.s. This will fail in the case where a pop %ds or pop %es faults when returning from a fast interrupt, but this should not be possible. mycroft Sat Jan 14 16:57:52 PST 1995 Update of /b/source/CVS/src/sys/arch/i386/include In directory sun-lamp.cs.berkeley.edu:/d/users/mycroft/src/sys/arch/i386/include Modified Files: psl.h Log Message: Remove PSL_USERCLR, and add a PSL_USERSTATIC. Change the bit descriptions to more closely match the 386 manual. (Probably the mnemonics should be changed, too.)