Jacek Caban
82e6713b75
server: Don't allow APCs on objects associated with completion port.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:51:11 +02:00
Francois Gouget
e3b1437e1b
ntdll/tests: A spelling fix in a comment.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-06 18:49:38 +02:00
Akihiro Sagawa
7c06d99e83
ntdll/tests: Add more tests if we have real VM counters.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 19:34:24 +02:00
Alistair Leslie-Hughes
a3c1fbae2a
ntdll/tests: Use standard wine_dbgstr_longlong.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 15:57:45 +02:00
Jacek Caban
c56c42ff79
server: Use create_request_async in ioctl request handler.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 12:32:49 +02:00
Alex Henrie
146cf041d9
ntdll: Always fill PagefileUsage counter with a nonzero value on Linux.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-17 21:57:12 +02:00
Alex Henrie
d6dfe19794
ntdll/tests: Dump entire VM_COUNTERS structure.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-17 21:57:12 +02:00
Jacek Caban
4370073bbf
ntdll/tests: Added FSCTL_PIPE_PEEK tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 11:58:09 -05:00
Alex Henrie
19a79f4228
ntdll: Implement ProcessVmCounters for Linux for other processes.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-09 16:37:42 -05:00
Jacek Caban
4bf58b6e10
ntdll/tests: Added more completion port tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-02 20:49:08 +02:00
Michael Müller
5a96399b66
ntdll: Implement LdrEnumerateLoadedModules.
...
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>
2017-05-01 19:29:13 +02:00
Michael Müller
e5ad8ae123
ntdll/tests: Add tests for LdrEnumerateLoadedModules.
...
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>
2017-05-01 19:29:13 +02:00
Christian Inci
8335d9152f
ntdll/tests: Check debug registers of a newly created thread.
...
Signed-off-by: Christian Inci <chris.wine@broke-the-inter.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-10 21:51:40 +02:00
Jacek Caban
e024094b75
ntdll/tests: Added tests of partial reads and reads with invalid wait handle.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:15 +02:00
Jacek Caban
0d6b783c80
ntdll/tests: Run read tests in all modes and directions.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:15 +02:00
Jacek Caban
7c26ebfc99
ntdll/tests: Moved pipe read tests to pipe.c.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-28 13:21:42 +02:00
Jacek Caban
b682e1c41d
server: Use server-side I/O for message mode named pipes.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-24 21:07:09 +01:00
Alex Henrie
bf7a97e5d3
ntdll: Implement ProcessVmCounters for Linux.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:38 +01:00
Francois Gouget
5a2aa5e1d9
ntdll/tests: A spelling fix in an ok() message.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-13 19:27:49 +01:00
Sebastian Lackner
2c733057e9
ntdll: Implement FileAccessInformation class in NtQueryInformationFile.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-07 17:47:45 +01:00
Jacek Caban
14206495e3
ntdll: Don't modify LockCount in RtlLeaveCriticalSection if section is not acquired.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-07 16:33:36 +01:00
Józef Kucia
c530fb9e28
ntdll: Fix NtFlushBuffersFile() for files with FILE_APPEND_DATA access.
...
Fixes a regression introduced by commit
f7d40d45da
.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-03 20:43:40 +01:00
Józef Kucia
a0aac49591
ntdll/tests: Add test for flushing file with FILE_APPEND_DATA access.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-03 20:43:39 +01:00
Paul Gofman
f7d40d45da
ntdll: NtFlushBuffersFile should fail if the file handle has no write access.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-02 15:48:01 +01:00
Paul Gofman
85aa2067b0
ntdll/tests: Add test for NtFlushBuffersFile error conditions.
...
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-02 15:47:59 +01:00
Jacek Caban
bede6499ed
server: Create async object in ioctl request handler.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-21 14:24:11 +01:00
Sebastian Lackner
f9ede5c4c1
ntdll/tests: Add tests for FileIoCompletionNotificationInformation info class.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-17 20:54:04 +01:00
Sebastian Lackner
627829daa3
ntdll: Implement FileIdInformation class in NtQueryInformationFile.
...
Based on a patch by Jonathan Doron.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-16 19:08:39 +01:00
Sebastian Lackner
8b3d43acab
ntdll/tests: Add tests for FileIdInformation class.
...
Based on a patch by Jonathan Doron.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-16 19:08:39 +01:00
Jonathan Doron
9c72376c8c
ntdll: Define more file information classes.
...
Signed-off-by: Jonathan Doron <jond@wizery.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-10 21:39:29 +01:00
Jacek Caban
0d23bfd398
ntdll: Check output buffer before server_write_file call.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 21:38:53 +01:00
Jacek Caban
a240bfcf9b
ntdll: Check input buffer before server_read_file call and don't touch event on error.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 21:38:53 +01:00
Sebastian Lackner
b60b50ba35
ntdll: Catch page faults in NtQueryPerformanceCounter.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 19:05:43 +01:00
Huw Davies
8d8507808e
ntdll/tests: The fpu exception offset is broken on 32-bit Windows 8 too.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-25 19:49:50 +01:00
Huw Davies
9c5b15aaa4
ntdll/tests: Listen on the pipe to allow the client to connect on Windows 8 and 10.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-23 22:36:40 +01:00
Jacek Caban
e891be17b2
ntdll: Return NULL key on NtCreateKey failure.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-17 16:19:47 -07:00
Jacek Caban
eeb4ed4c70
ntdll/tests: Added more registry symlink tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-17 16:19:47 -07:00
Jacek Caban
86b5ec3fd1
ntdll/tests: Added a test of using NtCancelIoEx on iosb associated with pipe listening.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-12 22:33:22 +02:00
Detlef Riekenberg
1ebbfb1a1d
ntdll/tests: Use case insensitive compare for filenames.
...
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-01 15:14:10 +02:00
Daniel Lehman
594ddb6140
ntdll: Set Rip in for longjmp in RtlRestoreContext.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 23:23:39 +09:00
Sebastian Lackner
a9f648ef69
ntdll: Do not call group cancel callback for finished simple callbacks.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 12:51:24 +09:00
Sebastian Lackner
be7bcdc0f9
ntdll: Group cancel callbacks should be executed after waiting for pending callbacks.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 12:50:50 +09:00
Sebastian Lackner
a8830a2478
ntdll: Call group cancel callback with the correct arguments.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 12:50:44 +09:00
Sebastian Lackner
5144708392
ntdll/tests: Add tests for releasing threadpool objects during TpReleaseCleanupGroupMembers.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 12:50:39 +09:00
Sebastian Lackner
914d597eb3
ntdll/tests: Use longer waits to reduce risk of random failures on the testbot.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 12:50:28 +09:00
Huw Davies
92fe612acb
ntdll/tests: Skip broken SYSTEM_HANDLE_INFORMATION behaviour.
...
Vista and 2008 only copy the first handle's information into the
buffer.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 20:38:15 +09:00
Piotr Caban
b23de3cd4a
ntdll: Add support for exceptions inside termination handlers in __C_specific_handler.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 11:56:29 +09:00
Huw Davies
cf22192b28
ntdll/tests: Dump the handle table on failure.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 00:09:39 +09:00
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