Jacek Caban
719a7d32c5
ntdll: Added new pid debug channel to append process id to debug output.
2015-08-25 21:13:22 +09:00
Michael Müller
75c9da68e2
ntdll: Use helper function for NtWaitForMultipleObjects and NtWaitForSingleObject.
2015-08-24 18:41:34 +09:00
Sebastian Lackner
ec851647e2
server: Implement open_file_object for rootdir pointing to file object.
2015-08-21 14:39:21 +09:00
Sebastian Lackner
84d2610aaf
ntdll/tests: Add additional tests for calling NtOpenFile with file object as RootDirectory.
2015-08-21 14:36:12 +09:00
Sebastian Lackner
1f2a443cb4
server: Implement support for FileLinkInformation class in NtSetInformationFile.
2015-08-21 14:36:02 +09:00
Qian Hong
57d443824a
ntdll/tests: Add tests for FileLinkInformation class.
...
Based on the FileRenameInformation tests by Sebastian Lackner.
2015-08-21 14:35:18 +09:00
Sebastian Lackner
857d436784
ntdll: Implement FileRenameInformation support.
2015-08-20 18:34:13 +09:00
Sebastian Lackner
6899eade5d
ntdll/tests: Add additional tests for FileRenameInformation.
2015-08-20 18:33:45 +09:00
Jianqiu Zhang
a5b58144a5
ntdll/tests: Add basic tests for FileRenameInformation.
2015-08-20 18:33:39 +09:00
Dmitry Timoshkov
7386de357f
ntdll: Do not fail to relocate an image if the size of relocation block is 0.
2015-08-20 14:32:32 +09:00
Erich E. Hoover
6955a298f4
server: Do not permit FileDispositionInformation to delete a file without write access.
2015-08-19 20:19:58 +09:00
Sebastian Lackner
0fabfe7d6b
server: Add support for setting file disposition information.
...
Based on a patch by Dmitry Timoshkov.
2015-08-19 20:19:57 +09:00
Dmitry Timoshkov
e67a00b466
ntdll: Separate image relocation from NtMapViewOfSection.
2015-08-18 19:56:48 +09:00
Andrey Gusev
5cdcd4493f
Assorted spelling and typos fixes.
2015-08-18 15:00:13 +09:00
André Hentschel
c4cd981a61
ntdll/tests: Add ARM64 support for map protection tests.
2015-08-17 16:59:32 +09:00
André Hentschel
27bf278d72
ntdll: Add support for Win 10.
2015-08-13 15:04:29 +09:00
Sebastian Lackner
38076fa633
ntdll: Move cookie initialization code from memory management to loader.
2015-08-12 22:58:28 +09:00
Piotr Caban
18d9ca872a
ntdll: Fix modules order in InInitializationOrderModuleList.
2015-08-12 22:54:42 +09:00
André Hentschel
ccc91f25c6
ntdll: Fix stack alignment on ARM64.
2015-08-12 22:54:13 +09:00
Francois Gouget
f8a7d6ed74
Assorted spelling fixes.
2015-08-07 23:50:48 +09:00
Francois Gouget
e0e2ee3487
ntdll: Add a trailing '\n' to a FIXME() trace.
2015-08-07 23:50:20 +09:00
Francois Gouget
93a7845ae8
ntdll: Use #ifdef to check for potentially undefined macros.
2015-08-07 23:44:30 +09:00
Sebastian Lackner
3977ebafc0
ntdll: Lookup DynamicDST based on current year, instead of year of daylight date.
...
When there are no further time changes, the function find_dst_change() will
return (year_end + 1). This patch ensures that we don't lookup the wrong
DynamicDST entry in such a case.
2015-08-04 09:45:28 +02:00
Sebastian Lackner
1050988997
ntdll: Improve stub for NtQueryInformationJobObject.
2015-07-31 12:08:09 +02:00
Sebastian Lackner
905bf79337
server: Store correct entry point for first thread.
2015-07-30 11:37:15 +02:00
Sebastian Lackner
6e66c12c68
ntdll: Validate SecurityCookie pointer before accessing cookie value.
2015-07-30 11:36:21 +02:00
Sebastian Lackner
5bd9d58016
ntdll: Mark newly spawned worker threads as busy.
2015-07-29 22:23:56 +02:00
Martin Storsjo
2a904d3bb3
ntdll: Handle partial image load config structs.
2015-07-29 21:44:03 +02:00
Sebastian Lackner
22f0611cf9
ntdll/tests: Add tests for ThreadQuerySetWin32StartAddress info class.
2015-07-29 21:44:03 +02:00
Sebastian Lackner
845164004b
ntdll: Implement ThreadQuerySetWin32StartAddress info class in NtQueryInformationThread.
2015-07-29 21:44:03 +02:00
Sebastian Lackner
6ab494ceb5
ntdll: Implement ThreadQuerySetWin32StartAddress info class in NtSetInformationThread.
2015-07-29 21:44:03 +02:00
Sebastian Lackner
6156cf3134
server: Use a separate wineserver call to fetch thread times.
2015-07-29 21:44:03 +02:00
Sebastian Lackner
9562e81810
ntdll: Reimplement RtlQueueWorkItem on top of new threadpool API.
2015-07-28 09:54:18 +02:00
Sebastian Lackner
c774a8c3ae
ntdll/tests: Add basic tests for RtlQueueWorkItem.
2015-07-28 09:54:05 +02:00
Sebastian Lackner
4a1629c411
ntdll: Avoid possible deadlock by using _exit() in NtTerminateProcess.
...
When threads are killed with SIGQUIT some locks can be in an undefined
state, and it not safe to call exit handlers.
2015-07-17 14:29:04 +09:00
Dmitry Timoshkov
21c3724813
ntdll: Cache contents of IMAGE_TLS_DIRECTORY instead of saving a directory pointer.
2015-07-15 15:13:16 +09:00
Erich E. Hoover
e9d7cf99ad
ntdll: Only set the security cookie if it has not already been set.
2015-07-14 16:43:30 +09:00
Alasdair Sinclair
241b3928b1
ntdll: Add missing WINAPI to RtlDecompressFragment.
2015-07-14 14:54:54 +09:00
Sebastian Lackner
b687fee66f
ntdll: Fix incorrect assignment in assert statement (Coverity).
2015-07-13 14:44:40 +09:00
Sebastian Lackner
db1e8a686e
ntdll/tests: Add tests for RtlDecompressFragment.
2015-07-10 14:54:57 +09:00
Sebastian Lackner
0e7bd45571
ntdll/tests: Add tests for RtlDecompressBuffer.
2015-07-10 14:54:54 +09:00
Sebastian Lackner
e3503799d9
ntdll: Implement RtlDecompressFragment.
...
Based on a patch by Michael Müller.
2015-07-10 14:54:50 +09:00
Sebastian Lackner
577332f612
ntdll: Implement semi-stub for RtlGetCompressionWorkSpaceSize.
2015-07-09 17:34:48 +09:00
Sebastian Lackner
ee899dc55e
ntdll/tests: Add tests for RtlGetCompressionWorkSpaceSize.
2015-07-09 17:34:46 +09:00
Sebastian Lackner
275424e939
ntdll: Implement semi-stub for LZNT1 compression in RtlCompressBuffer.
...
This stub implementation just emits uncompressed blocks with
appropriate chunk headers.
2015-07-09 17:34:41 +09:00
Sebastian Lackner
025ea11dc4
ntdll/tests: Add tests for RtlCompressBuffer.
2015-07-09 17:34:37 +09:00
André Hentschel
7e1c886fbf
ntdll: Randomize security cookie when available.
2015-07-08 16:20:06 +09:00
Sebastian Lackner
f65f645c3f
ntdll: Add missing calls to RtlExitUserThread.
2015-07-08 16:02:24 +09:00
Sebastian Lackner
0021569778
ntdll: Try to merge threadpool wait queue buckets if possible.
...
When the number of elements per bucket is too small, then try to reduce
the number of threads by merging buckets. This is to ensure that the
number of running wait queue threads doesn't get too big.
2015-07-06 14:49:39 +09:00
Sebastian Lackner
634bbed3fb
ntdll/tests: Add threadpool wait tests with more than 63 objects.
2015-07-06 14:49:39 +09:00