Matt Robinson
4a6bd3d200
ntdll: Catch page fault in RtlWow64EnableFsRedirectionEx.
...
Signed-off-by: Matt Robinson <git@nerdoftheherd.com>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-08 12:39:18 +09:00
Piotr Caban
f333bf47a8
ntdll: Keep drive letter size in RtlGetFullPathName_U when full path is specified.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-29 23:12:11 +09:00
Michael Müller
1311c8157b
ntdll: NtUnmapViewOfSection should succeed for all offsets within the mapped range.
...
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 22:03:21 +09:00
Alexandre Julliard
2f514becdb
kernel32: Store synchronization objects under the session directory.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-18 16:21:24 +09:00
Sebastian Lackner
fb45a20b4c
ntdll/tests: Use inline implementation of NtCurrentTeb for rtl tests.
...
Also enable HardErrorDisabled TEB tests on x86_64.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 11:13:28 +09:00
Sebastian Lackner
8e8e03de63
ntdll/tests: Use inline implementation of NtCurrentTeb for exception tests.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 11:13:24 +09:00
Nikolay Sivov
b10312d078
ntdll/tests: Fix some string leaks (Valgrind).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-30 11:10:43 +09:00
Alexandre Julliard
6261e26764
ntdll: Support remaining information classes in NtQueryDirectoryFile.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 01:27:50 +09:00
Daniel Lehman
7950562e9e
ntdll: Fix prev_count from NtReleaseMutant.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:27 +09:00
Daniel Lehman
142730ea66
ntdll: Add NtQueryMutant.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:26 +09:00
Alexandre Julliard
d18c14c311
ntdll/tests: Add tests for directory sorting.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:26 +09:00
Alexandre Julliard
12fc123338
ntdll: Cache the entire directory contents and sort the names before returning files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:26 +09:00
Alexandre Julliard
5006040541
ntdll: Implement RtlCompareUnicodeStrings.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-03 15:14:20 +09:00
Alexandre Julliard
ebf9c5cd17
ntdll/tests: Convert directory filename tests to Unicode.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-03 15:14:20 +09:00
Alexandre Julliard
1c31ba252c
ntdll: Store the directory identity and search mask in the directory cache.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 18:30:11 +09:00
Alexandre Julliard
a4dcfd1195
ntdll: Add tests for buffer overflows in NtQueryDirectoryFile.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 00:54:08 +09:00
Sebastian Lackner
9acff7550d
ntdll: Do not update iosb.Status after FSCTL_PIPE_LISTEN call.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 17:08:30 +09:00
Sebastian Lackner
f4a5b4561d
ntdll/tests: Add tests for iosb.Status value after pending FSCTL_PIPE_LISTEN call.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 16:44:24 +09:00
Sebastian Lackner
7389e84dd0
ntdll/tests: Fix some test failures on Win 8+.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 16:44:24 +09:00
Sebastian Lackner
18ea2e5f88
ntdll/tests: Add test for threadpool environment version 3.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 15:57:32 +09:00
Thomas Faber
5441f8352c
ntdll/tests: Test NtOpenKey with zero access.
...
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 17:29:17 +09:00
Sebastian Lackner
dcf914857c
ntdll/tests: Allow broken SpinCount for some Win 8+ systems.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 23:15:38 +09:00
Frédéric Delanoy
06b39c982d
ntdll/tests: Use todo_wine_if() in tests.
...
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:09 +09:00
Sebastian Lackner
123185c3a2
ntdll: Set correct number of arguments for breakpoint exceptions.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 11:20:12 +09:00
Sebastian Lackner
d0cc0dd69f
ntdll: Fix up instruction pointer in context for EXCEPTION_BREAKPOINT on x86_64.
...
Similar to eab168cf9e
for x86.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 11:20:08 +09:00
Sebastian Lackner
109e847f2a
ntdll/tests: Add separate tests for exception handling of int $0x3.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 11:20:06 +09:00
Sebastian Lackner
4e878e9114
ntdll/tests: Add additional tests for instruction pointer in debug service tests.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 11:20:03 +09:00
Sebastian Lackner
d0b88e7454
ntdll/tests: Add more tests for calling int $0x2d on x86 and x86_64.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 00:49:12 +09:00
Sebastian Lackner
2689b7b1be
ntdll/tests: Add tests for RtlInitializeCriticalSectionEx.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 23:26:29 +09:00
Henri Verbeet
e65c89f1c5
ntdll: Add special handling for int $0x2d exceptions.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 12:09:37 +09:00
Charles Davis
e0311318fc
ntdll: Add some more NTSTATUS->DOS error mappings.
...
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:30:04 +09:00
Sebastian Lackner
446067b34d
ntdll/tests: Fix flags passed to VirtualFree in exception tests.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-14 12:39:03 +09:00
Alexandre Julliard
14c3f703dd
ntdll/tests: Add some tests for opening objects through symlinks.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:07:30 +09:00
Michael Müller
5c50f65830
ntdll: Implement SystemRecommendedSharedDataAlignment class in NtQuerySystemInformation.
...
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:06:54 +09:00
Alexandre Julliard
f17fe5a4ad
ntdll/tests: Remove some macros.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 22:10:54 +09:00
Sebastian Lackner
5b478f7c7e
ntdll/tests: Simplify exception tests by using todo_wine_if.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-10 21:50:19 +09:00
Alexandre Julliard
39e60dc680
server: Support opening objects from any root, not only directories.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:36:17 +09:00
Alexandre Julliard
b35642f516
ntdll/tests: Fix a couple of test failures on limited user accounts.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 12:01:55 +09:00
Alexandre Julliard
883ca7395b
ntdll/tests: Add some tests for registry path names.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 22:56:38 +09:00
Alexandre Julliard
b21a324070
server: Use the link_name operation to create named objects.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-05 00:20:01 +09:00
Alexandre Julliard
37503be654
server: Fix checks for a valid directory in object attributes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 14:57:37 +09:00
Alexandre Julliard
6fe37f35bf
ntdll: Add tests for the length of the object attributes structure.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-30 00:30:25 +09:00
Alexandre Julliard
b93c78dc6c
ntdll/tests: Add a helper function to run tests across all kernel object types.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-30 00:29:01 +09:00
Francois Gouget
93988c5039
ntdll/tests: Fix an infinite loop on platforms where NtQuerySystemInformationEx() is not implemented.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:30:50 +09:00
Alexandre Julliard
38f9a788c4
ntdll: Add tests for NULL object attributes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:11 +09:00
Alexandre Julliard
fe0924625f
ntdll: Add a helper to validate attributes in open calls, and use a common pattern in all calls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:11 +09:00
Alexandre Julliard
b3064d748b
server: Implement NtOpenJobObject.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 16:38:53 +09:00
Andrew Eikum
a124064ce5
ntdll: Implement SystemLogicalProcessorInformationEx.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 00:49:31 +09:00
Alexandre Julliard
8b2ba27c86
ntdll: Add tests for kernel object names in the various open functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 00:41:30 +09:00
Alexandre Julliard
3e33f6c2d9
ntdll/tests: Fix some more failures on restricted Windows.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-27 12:15:48 +09:00