Author: hbelusca
Date: Fri Jun 2 00:44:04 2017
New Revision: 74742
URL: http://svn.reactos.org/svn/reactos?rev=74742&view=rev
Log:
[USETUP]: Creating a registry key with zero access is just plainly invalid. Fix it. It was not caught before because, we never ever booted a 1st-stage setup with a valid mounted existing SYSTEM key (as Windows does).
Modified:
trunk/reactos/base/setup/usetup/interface/devinst.c
Modified: trunk/reactos/base/setup/usetup/interface/devinst.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/interfac…
==============================================================================
--- trunk/reactos/base/setup/usetup/interface/devinst.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/interface/devinst.c [iso-8859-1] Fri Jun 2 00:44:04 2017
@@ -341,7 +341,7 @@
}
InitializeObjectAttributes(&ObjectAttributes, &ServicesU, OBJ_CASE_INSENSITIVE, NULL, NULL);
- Status = NtCreateKey(&hServices, 0, &ObjectAttributes, 0, NULL, 0, NULL);
+ Status = NtCreateKey(&hServices, KEY_ALL_ACCESS, &ObjectAttributes, 0, NULL, 0, NULL);
if (!NT_SUCCESS(Status))
{
DPRINT1("NtCreateKey('%wZ') failed with status 0x%08lx\n", &ServicesU, Status);
Author: hbelusca
Date: Thu Jun 1 20:20:25 2017
New Revision: 74736
URL: http://svn.reactos.org/svn/reactos?rev=74736&view=rev
Log:
[BUGCODES]: Move our MORAL_EXCEPTION_ERROR BSOD to where it should really belong (aka BSOD 0x9A) (see https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-chec… why). BSOD 0x7C is however legit: BUGCODE_NDIS_DRIVER.
Modified:
trunk/reactos/sdk/include/reactos/mc/bugcodes.mc
Modified: trunk/reactos/sdk/include/reactos/mc/bugcodes.mc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/reactos/mc/bug…
==============================================================================
--- trunk/reactos/sdk/include/reactos/mc/bugcodes.mc [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/reactos/mc/bugcodes.mc [iso-8859-1] Thu Jun 1 20:20:25 2017
@@ -1093,15 +1093,9 @@
MessageId=0x7C
Severity=Success
Facility=System
-SymbolicName=MORAL_EXCEPTION_ERROR
-Language=English
-An attempt was made to execute a proprietary machine code instruction.
-The system has been shut down to prevent damage to your conscience.
-
-If this is the first time you have seen this error screen, read
-<http://www.gnu.org/philosophy/free-sw.html>.
-
-If problems continue, remove all nonfree software from your computer.
+SymbolicName=BUGCODE_NDIS_DRIVER
+Language=English
+BUGCODE_NDIS_DRIVER
.
MessageId=0x7D
@@ -1197,6 +1191,20 @@
SymbolicName=INVALID_WORK_QUEUE_ITEM
Language=English
INVALID_WORK_QUEUE_ITEM
+.
+
+MessageId=0x9A
+Severity=Success
+Facility=System
+SymbolicName=MORAL_EXCEPTION_ERROR
+Language=English
+An attempt was made to execute a proprietary machine code instruction.
+The system has been shut down to prevent damage to your conscience.
+
+If this is the first time you have seen this error screen, read
+<http://www.gnu.org/philosophy/free-sw.html>.
+
+If problems continue, remove all nonfree software from your computer.
.
MessageId=0xA0