Author: fireball
Date: Sun Mar 27 11:32:55 2011
New Revision: 51171
URL: http://svn.reactos.org/svn/reactos?rev=51171&view=rev
Log:
[NTOS/MM]
- Return STATUS_IMAGE_NOT_AT_BASE when mapping an image section to a different base address. New ntdll loader depends on this and fails to relocate the image if this status is not returned.
Modified:
trunk/reactos/ntoskrnl/mm/section.c
Modified: trunk/reactos/ntoskrnl/mm/section.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/section.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] Sun Mar 27 11:32:55 2011
@@ -4571,6 +4571,7 @@
PMMSUPPORT AddressSpace;
ULONG ViewOffset;
NTSTATUS Status = STATUS_SUCCESS;
+ BOOLEAN NotAtBase = FALSE;
if ((ULONG_PTR)SectionObject & 1)
{
@@ -4652,6 +4653,8 @@
MmUnlockAddressSpace(AddressSpace);
return(STATUS_UNSUCCESSFUL);
}
+ /* Remember that we loaded image at a different base address */
+ NotAtBase = TRUE;
}
for (i = 0; i < NrSegments; i++)
@@ -4756,7 +4759,12 @@
MmUnlockAddressSpace(AddressSpace);
- return(STATUS_SUCCESS);
+ if (NotAtBase)
+ Status = STATUS_IMAGE_NOT_AT_BASE;
+ else
+ Status = STATUS_SUCCESS;
+
+ return Status;
}
/*
Author: osiejka
Date: Sat Mar 26 23:53:49 2011
New Revision: 51168
URL: http://svn.reactos.org/svn/reactos?rev=51168&view=rev
Log:
[RAPPS]
- Add DoubleCommander to app list. Russian and Ukrainian translation by Igorko, Polish translation by me.
[CMD]
- Fix Russian translation of cmd. Patch by seven_ro. See bugreport no.#6043
Added:
trunk/reactos/base/applications/rapps/rapps/doublecommander.txt (with props)
Modified:
trunk/reactos/base/shell/cmd/lang/ru-RU.rc
[This mail would be too long, it was shortened to contain the URLs only.]
Added: trunk/reactos/base/applications/rapps/rapps/doublecommander.txt
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/ra…
Modified: trunk/reactos/base/shell/cmd/lang/ru-RU.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/lang/ru-RU.…