Module Name: src
Committed By: bouyer
Date: Tue Feb 16 21:27:22 UTC 2010
Modified Files:
src/doc [netbsd-5-0]: CHANGES-5.0.3
Log Message:
Tickets 1307 & 1308
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/doc/CHANGES-5.0.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/doc/CHANGES-5.0.3
diff -u src/doc/CHANGES-5.0.3:1.1.2.3 src/doc/CHANGES-5.0.3:1.1.2.4
--- src/doc/CHANGES-5.0.3:1.1.2.3 Mon Feb 15 01:20:27 2010
+++ src/doc/CHANGES-5.0.3 Tue Feb 16 21:27:22 2010
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-5.0.3,v 1.1.2.3 2010/02/15 01:20:27 snj Exp $
+# $NetBSD: CHANGES-5.0.3,v 1.1.2.4 2010/02/16 21:27:22 bouyer Exp $
A complete list of changes from the NetBSD 5.0.2 release to the NetBSD 5.0.3
release:
@@ -125,3 +125,25 @@
as the version used to build the package
[joerg, ticket #1298]
+sys/arch/i386/i386/ibcs2_machdep.c 1.40
+sys/arch/i386/i386/svr4_machdep.c 1.96
+
+ fix confused CS selector, fixes the panic reported by Mark Davis
+ per PR port-i386/42787 (the panic happens due to a GPF when a
+ privileged descriptor is tried to be loaded with the UPL bit set)
+ The original bug is very old (pre-2.0, i386/svr4_machdep.c rev. 1.69),
+ but it was relatively harmless until the order of GDT entries was
+ shuffled (pre-5.0, i386/segments.h rev. 1.42). Before, it caused
+ a userlevel data selector to be used for CS which broke the emulation
+ (likely the reason of PR port-i386/32424). The shuffle made that
+ a privileged selector was used, causing the GPF.
+ (recent -current doesn't panic on that GPF which seems to be a
+ side effect of another change)
+ [drochner, ticket #1307]
+
+tools/compat/getmode.c 1.8
+
+ include unistd.h where getmode is traditionally declared.
+ Fix build on OS X 10.6.
+ [snj, ticket #1308]
+