cvs commit: src/sys/ia64/ia64 trap.c src/sys/ia64/include cpu.h
Marcel Moolenaar
marcel at FreeBSD.org
Tue Aug 19 22:30:36 PDT 2003
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
More information about the cvs-src
mailing list