return STATUS_INVALID_HANDLE if user-mode tries to reference a
kernel-mode handle.
- ObReferenceObjectByHandle: Properly validate process/thread access
rights before giving a reference to the caller.
- Fix definition of "SizeOfHandle" macro in the handle table
implementation. Fixes handle leaks at process rundown, handle
allocation, and problems with processes that use more than 512
handles.
- Remove checks for "VALID_INHERIT_FLAGS". These flags have nothing to
do with handle table entries and shouldn't appear in them. Please fix
callers if they're attempting to send inherit flags as access masks.
- Thanks to Alex! :)
svn path=/trunk/; revision=29304
- Remove the files I imported from the boot/freeldr/freeldr/math directory for adding 64-bit division support and use the -lgcc linker flag instead like it's done in ntoskrnl
svn path=/trunk/; revision=29297
* sumatrapdf - vendor import
* everything compiles (libjpeg, poppler, fitz, sumatrapdf)
* does NOT link
(remove the comment tags in the parent directory.rbuild file (rosapps dir) to build it)
svn path=/trunk/; revision=29295
- Fix a bug in id_dma.cpp on line 1261: This probably shouldn't be an assignment, but a check, otherwise all ATI chips will be treated as Silicon Image chips
svn path=/trunk/; revision=29288
- Make building with QUEUE_STATISTICS possible
- Fix the best_c check. As best_c is a ULONG variable, you cannot check for -1
svn path=/trunk/; revision=29287
I still disabled building the driver, so someone else can test it first.
- The i386.h, libgcc2.c, libgcc2.h, longlong.h and powerpc.h files were taken from the boot/freeldr/freeldr/math directory.
They are used for 64-bit division support
- Created a directory "ros_glue" for all this stuff, moved the ros_glue.cpp file there
- Imported the three functions MOV_DD_SWP (the i486 version), MOV_DW2DD_SWP and MOV_DW_SWP from the misc_i386.cpp file of CrossNt into the ros_glue_asm.s file
svn path=/trunk/; revision=29285
- Start changing CrNt to actual ReactOS functions (no need for supporting different versions / importing CrossNT lib).
svn path=/trunk/; revision=29280
- Fix some #else BLAH / #endif BLAH warnings.
- Change SYSTEM_INFORMATION_CLASS structure by what we have in NDK (duplication for now).
svn path=/trunk/; revision=29276
- Fix typo in MMWSL.
- Add RtlRandom to NDK.
- Add MEMORY_PRIORITY values to NDK.
- Add KeAcquireSpinLockRaiseToSynch to NDK.
- Make MmInitializeProcessAddressSpace take two more parameters: one to specify flags, such as large page support, and another one to define the process being cloned, when fork() support will be added.
- Add KeInvalidAccessAllowed to deal with page faults in the special S-List code. The assembly code currently handles simple faults, but our MmAccessFault handler needs to start verifying the fault too.
- Mark LoaderReserve pages as LoaderFree, it seems they end up this way in Windows.
- Use MmNumberOfPhysicalPages instead of MmStats.NrTotalPages.
All NDK changes are discussed with Alex.
svn path=/trunk/; revision=29254