From owner-cvs-src@FreeBSD.ORG Tue Aug 19 22:30:36 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BD4816A4BF; Tue, 19 Aug 2003 22:30:36 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D527D43F75; Tue, 19 Aug 2003 22:30:35 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7K5UZ0U021485; Tue, 19 Aug 2003 22:30:35 -0700 (PDT) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7K5UZqS021484; Tue, 19 Aug 2003 22:30:35 -0700 (PDT) Message-Id: <200308200530.h7K5UZqS021484@repoman.freebsd.org> From: Marcel Moolenaar Date: Tue, 19 Aug 2003 22:30:35 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ia64/ia64 trap.c src/sys/ia64/include cpu.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 05:30:36 -0000 marcel 2003/08/19 22:30:35 PDT FreeBSD src repository Modified files: sys/ia64/ia64 trap.c sys/ia64/include cpu.h Log: Undo the mistake made in revision 1.77 of trap.c and which was the ultimate trigger for the follow-up fixes in revisions 1.78, 1.80, 1.81 and 1.82 of trap.c. I was simply too pre-occupied with the gateway page and how it blurs kernel space with user space and vice versa that I couldn't see that it was all a load of bollocks. It's not the IP address that matters, it's the privilege level that counts. We never run in user space with lifted permissions and we sure can not run in kernel space without it. Sure, the gateway page is the exception, but not if you look at the privilege level. It's user space if you run with user permissions and kernel space otherwise. So, we're back to looking at the privilege level like it should be. There's no other way. Pointy hat: marcel Revision Changes Path 1.89 +9 -14 src/sys/ia64/ia64/trap.c 1.39 +6 -11 src/sys/ia64/include/cpu.h