Commit Graph

838 Commits

Author SHA1 Message Date
Dmitry Timoshkov 4b058e6e79 server: OpenMutex should perform a real access check instead of validating access flags.
This reverts 7b63fa658a.
2012-03-12 16:37:24 +01:00
Alexandre Julliard aeaf18077e kernel32: Implement the memory resource notification functions. 2012-03-12 10:44:02 +01:00
Dmitry Timoshkov 7a9fce25ec kernel32: Add some CreateFile disposition and access tests. 2012-03-09 11:30:39 +01:00
Dmitry Timoshkov 75209ffdaf kernel32: Fix file test compilation with PSDK headers. 2012-03-09 11:30:21 +01:00
Akihiro Sagawa e4692b3f66 kernel32/tests: Add more tests for WriteConsole. 2012-03-09 11:27:30 +01:00
Dmitry Timoshkov 0e7314a298 kernel32: Add a test for LoadLibrary called on a not DLL image. 2012-02-24 09:56:25 +01:00
Dmitry Timoshkov 20093556f9 kernel32: Add a test to show that NtMapViewOfSection should not perform an image relocation. 2012-02-20 11:39:06 +01:00
Eric Pouech d967484ecc kernel32: Added a couple of tests about console creation through CreateFile, and fix some corner cases. 2012-02-08 10:47:57 -06:00
Dmitry Timoshkov 3a5ee02735 ntdll: Add an access check for file mappings. 2012-01-24 18:10:31 +01:00
Francois Gouget f445325999 Assorted spelling fixes. 2012-01-23 16:07:32 +01:00
Dmitry Timoshkov d50814846e kernel32: Remove a no longer needed todo_wine. 2012-01-18 12:37:39 +01:00
Dmitry Timoshkov 1d01a7ba1e kernel32: Fix access flags to page protection mapping in MapViewOfFileEx. 2012-01-17 11:54:43 +01:00
Dmitry Timoshkov 9bd55bc2f5 kernel32: Test MapViewOfFile and NtMapViewOfSection side by side. 2012-01-16 19:32:48 +01:00
Daniel Lehman b1f04e23bf kernel32: If string arg to FormatMessage is NULL, use "(null)" instead of crashing. 2012-01-09 15:32:50 +01:00
Dmitry Timoshkov 1026bddf53 kernel32: Add a test for MapViewOfFile called on a not accessible mapping. 2011-12-20 10:15:42 +01:00
Francois Gouget 632ac0b227 kernel32: Avoid hardcoding the Unicode string literal lengths. 2011-12-16 17:40:40 +01:00
Dmitry Timoshkov 332eee4053 ntdll: Replace WRITE by WRITECOPY protection on an image section as Windows does. 2011-12-16 16:38:29 +01:00
Dmitry Timoshkov bb8d47bd30 kernel32: Add a bunch of VirtualProtect tests on an image section. 2011-12-16 16:38:29 +01:00
Dmitry Timoshkov eed406e028 ntdll: Setting WRITECOPY protection on a memory-mapped file is allowed. 2011-12-16 16:38:29 +01:00
Dmitry Timoshkov 5379a75baf kernel32: Add the tests for various combinations of CreateFileMapping/MapViewOfFile protections. 2011-12-15 14:46:53 +01:00
Dmitry Timoshkov d7e428a40a kernel32: Add a bunch of VirtualProtect tests on a memory-mapped file. 2011-12-01 16:01:30 +01:00
Dmitry Timoshkov f9bb1b7afd kernel32: Add a test for protections accepted by CreateFileMapping, make it pass under Wine. 2011-11-30 14:56:43 +01:00
Francois Gouget 51a256e65f Assorted spelling fixes and wording tweaks. 2011-11-28 16:40:50 +01:00
Dmitry Timoshkov 517d0800df ntdll: Revert 33b0f0edff.
The tests clearly show that this commit is wrong.
2011-11-23 14:14:25 +01:00
Alexandre Julliard 1998c22d1b kernel32/tests: Avoid size_t in traces. 2011-11-22 18:19:06 +01:00
Dmitry Timoshkov ed95814ed8 kernel32: Add a test for main module image section protections. 2011-11-22 11:10:03 +01:00
Dmitry Timoshkov bed1e5c8f5 kernel32: Add a test to show that Windows changes the WRITECOPY to WRITE protection on an image section write. 2011-11-22 11:10:02 +01:00
Dmitry Timoshkov 30882eb08e kernel32: Add a test to see how a page protection changes after write. 2011-11-22 11:10:02 +01:00
André Hentschel 62d719419c kernel32/tests: Fix two typos. 2011-11-15 11:48:58 +01:00
Thomas Faber 5d5fd2fa9b kernel32/tests: Add tests for GetDllDirectory. 2011-11-09 11:33:58 +01:00
Dmitry Timoshkov a93f86716f kernel32: Add a bunch of tests for protections accepted by VirtualAlloc, make it pass under Wine. 2011-11-08 10:19:51 +01:00
Dmitry Timoshkov 33255ee6ec ntdll: Make the VirtualProtect tests pass under Wine. 2011-11-03 13:51:56 +01:00
André Hentschel 8f369c9edb kernel32/tests: Use ARMv7 for PE images. 2011-11-01 16:45:33 +01:00
Dan Kegel 6ca1a943eb kernel32/tests: fni->FileName is not nul terminated in test_readdirectorychanges_cr. 2011-10-25 16:57:28 +02:00
Bernhard Loos c368df4865 server: PIPE_TYPE_BYTE | PIPE_READMODE_MESSAGE is invalid for named pipes. 2011-10-13 19:57:19 +02:00
Alexander Morozov d0451f6b3f server: Fix overlapping shared and exclusive locks support. 2011-10-12 17:10:54 +02:00
Alexander Morozov b2a302b667 kernel32/tests: Shared lock can overlap exclusive if handles are equal. 2011-10-11 20:01:56 +02:00
Marcus Meissner 79115f4179 kernel32: Fixed QueryDosDeviceNameW size (chars not bytes). 2011-10-10 13:30:37 +02:00
Thomas Faber fc2dcd04ab kernel32/tests: Fix MSVC build in console.c. 2011-10-04 17:31:45 -05:00
Thomas Faber bcbaefe8b5 kernel32/tests: Fix MSVC build in file.c and pipe.c. 2011-10-04 17:31:08 -05:00
Francois Gouget a2af890483 kernel32: Fix the NT path returned by QueryFullProcessImageName(). 2011-10-04 15:23:03 -05:00
Francois Gouget 1d1ebefff1 kernel32/tests: Better check the NT path returned by QueryFullProcessImageName(). 2011-10-04 15:21:44 -05:00
Francois Gouget 80ba9f3597 kernel32/tests: Test K32GetProcessImageFileNameA() and improve the QueryFullProcessImageNameA() tests. 2011-10-04 15:21:36 -05:00
Nikolay Sivov 17af6e394a kernel32/tests: Move CompareStringA data to a table. 2011-10-04 15:19:42 -05:00
Francois Gouget db882bfb5d kernel32/tests: Check what happens if QueryDosDeviceA() is given an insufficient buffer. 2011-10-03 16:56:30 -05:00
Francois Gouget 8e67930bd7 kernel32: Reset LastError if GetModuleFileName() succeeds. 2011-10-03 16:56:27 -05:00
Dmitry Timoshkov 25ae02b4ed kernel32: Fix a typo in the LoadLibrary return value testing. 2011-09-30 10:32:01 -05:00
Bernhard Loos 5098b13177 server: Only the sharing parameter of two instances of the same pipe have to match. 2011-09-27 16:54:00 +02:00
Dmitry Timoshkov 4eb69c8d7d kernel32: Add a bunch of VirtualProtect tests. 2011-09-27 16:24:26 +02:00
Francois Gouget bd7b345b26 Assorted spelling fixes & co. 2011-09-27 11:00:13 +02:00