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
Dmitry Timoshkov
d039d188f4
ntdll: Add support for fs segment in ThreadDescriptorTableEntry query.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 11:16:59 +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
Michael Müller
d0832cdf42
ntdll: Use sysinfo to report correct number of physical pages.
...
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-14 17:52:35 +09:00
Michael Stefaniuc
7c8832b23a
ntdll: Remove a redundant NULL check before RtlFreeHeap().
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 20:14:04 +09:00
Michael Müller
77be592845
ntdll: Do not sort InMemoryOrderModuleList by memory address.
...
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-07 21:23:26 +09:00
Piotr Caban
4c50ef6995
ntdll: Add RtlRestoreContext implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:49:33 +09:00
Francois Gouget
75c1622b01
ntdll: Fix typos in some comments.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 11:01:20 +09:00
Alex Henrie
84fcaafb89
ntdll: Skip synchronous read if a serial read interval timeout is set.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-09 15:39:57 +09:00
Alexandre Julliard
7a8ebc828e
ntdll: Add a helper function for registering a file read async I/O.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-09 15:31:00 +09:00
Austin English
4f3607f754
ntdll: Add WinSqmEndSession/WinSqmStartSession stubs.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-01 22:12:21 +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
Frédéric Delanoy
07a87666a1
ntdll: Fix a typo in an comment.
...
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 21:18:17 +09:00
Daniel Lehman
4c89d567f6
ntdll: Remove stub from trace.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 17:18:32 +09:00
Sebastian Lackner
bb48b11508
ntdll: Fix buffer allocation check in get_dir_data_space.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 01:27:50 +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
ad83e2cd57
ntdll: Add trace for NtQueryEvent/Semaphore.
...
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
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
Sebastian Lackner
f4f33686cb
ntdll: Make sure buffer allocated in get_cached_dir_data is big enough for returned entry.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-03 10:14:25 +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
Austin English
fee017c221
ntdll: Add NtSetLdtEntries/ZwSetLdtEntries stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-01 11:56:23 +09:00
Sebastian Lackner
12a00ea349
ntdll: Initialize Reserved_0 bit in NtQueryInformationThread.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-01 11:55:41 +09:00
Alexandre Julliard
9fef5dc839
ntdll: Properly check the NtQueryDirectoryFile return status.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 23:14:23 +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
Seong-ho Cho
ca8a08606d
configure: Add AC_HEADER_MAJOR to find where major() is defined.
...
Signed-off-by: Seong-ho Cho <darkcircle.0426@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 18:06:46 +09:00
Sebastian Lackner
d25ae3ca25
ntdll: Handle stack guard pages on x86_64.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-15 17:56:59 +09:00
Sebastian Lackner
56b4d35d52
ntdll: Preinitialize OS version data in thread_init.
...
Fixes a regression introduced by bd17022c90
.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 21:43:03 +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
a697e96823
ntdll: Use close_handle instead of NtClose for internal memory management functions.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 15:57:33 +09:00
Sebastian Lackner
a919a02ac3
ntdll: Don't warn about unsupported 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
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
Sebastian Lackner
d4ab672cf5
ntdll: Fix off-by-one errors in __wine_set_signal_handler.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 18:41:00 +09:00
Louis Lenders
eee837e931
ntdll: Add stub for RtlAddAccessDeniedObjectAce and forward to AddAccessDeniedObjectAce in advapi32.
...
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-07 13:23:06 +09:00
Louis Lenders
c63d417222
ntdll: Add stub for RtlAddAccessAllowedObjectAce and forward to AddAccessAllowedObjectAce in advapi32.
...
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 12:58:27 +09:00
Louis Lenders
d37b3f59e9
ntdll: Add stub for RtlAddAuditAccessObjectAce and forward to AddAuditAccessObjectAce in advapi32.
...
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 18:51:44 +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
André Hentschel
b363f386cd
ntdll: Set TPIDRURW also on ARMv8-A.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-26 19:54:12 +09:00
Jacek Caban
d2d40b1da3
ntdll: Moved RegisterTraceGuids[AW] implementation to ntdll.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 22:45:08 +09:00
Alex Henrie
f35c1b2dc1
ntdll: Finish serial reads of size 0 immediately.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 22:45:07 +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