Alexandre Julliard
ee1528040e
ntdll: Remove the special case for the NUL device.
2015-05-21 17:38:19 +09:00
Alexandre Julliard
950c82094b
ntdll: Add support for file I/O on device files.
2015-05-21 17:38:04 +09:00
Alexandre Julliard
c0ac2afb19
server: Create the null device and its symlink.
2015-05-21 17:24:34 +09:00
André Hentschel
74ef3af73d
ntdll: Use the correct arch value for ARM64.
2015-05-21 14:23:45 +09:00
Ken Thomases
bb89f10e5e
ntdll: Fix read_directory_getattrlist() to get the name of a symlink rather than its target, but still detect if the symlink is broken.
2015-05-21 13:59:56 +09:00
Ken Thomases
5c98448aa3
ntdll: If read_directory_getattrlist() finds that the file doesn't exist, return successful "no file" result to stop search.
2015-05-21 13:58:01 +09:00
Ken Thomases
f6926b3515
ntdll: Increase name buffer size in read_directory_getattrlist() for UTF-8 encoding.
...
The docs for getattrlist() say that ATTR_CMN_NAME can return up to NAME_MAX + 1
Unicode characters (code points) encoded in UTF-8, which means it can be up to
NAME_MAX * 3 + 1 bytes.
2015-05-21 13:57:45 +09:00
Sebastian Lackner
39abfc4d74
ntdll: Add stub for NtImpersonateAnonymousToken.
2015-05-21 13:57:05 +09:00
Matteo Bruni
cb5c92f33c
ntdll/tests: Add a test for filename casing with NtQueryDirectoryFile().
2015-05-20 17:32:19 +09:00
Matteo Bruni
2f0febe60a
ntdll: Ignore positive matches in read_directory_stat() for case-insensitive filesystems.
...
It's necessary to return the actual filename with correct casing and a
plain stat doesn't allow that. Make read_directory_stat() return the
result of the stat() call on a case-insensitive filesystem only when the
file is missing.
2015-05-20 17:32:16 +09:00
Matteo Bruni
5d65b9d0c2
ntdll: Implement a read_directory_getattrlist() function.
...
When searching for a specific filename on a case-insensitive filesystem
we first try with stat(). If stat() does find the file we currently
return the requested filename back.
That presents an issue when the application cares about the casing of the
actual file stored on-disk. Specifically, NtQueryDirectoryFile is
supposed to return the actual filename with correct casing.
One possible solution to the issue, without having to resort to manually
scanning the directory entries, is to make use of the OS X getattrlist()
function, since it can return the filename stored on the filesystem.
2015-05-20 17:32:09 +09:00
Alexandre Julliard
871ab51233
ntdll/tests: Use the correct flags for NtOpenFile.
2015-05-18 17:50:22 +09:00
Sebastian Lackner
b3913c4f77
ntdll/tests: Add tests for accessing \\Device\\Null.
2015-05-18 17:42:46 +09:00
Huw Davies
d6d703b592
ntdll/tests: Fix incorrect prototype.
2015-05-15 21:58:06 +09:00
Huw Davies
14c53a5863
ntdll/tests: Wait for pending file operations to complete.
2015-05-14 20:06:06 +09:00
Nikolay Sivov
2c98d5b90c
kernel32: Implement GetDynamicTimeZoneInformation().
2015-05-11 15:39:24 +09:00
Qian Hong
ac86cb9eba
ntdll/tests: Fixed typo.
2015-05-08 14:54:52 +09:00
André Hentschel
f78bd7f4d9
ntdll: Enable wow64 on ARM64.
2015-05-08 14:54:47 +09:00
Alexandre Julliard
193667ecd7
ntdll: Fix handling of async cancellation for directory changes.
2015-05-07 16:02:26 +09:00
Alexandre Julliard
38b7c8839c
ntdll: Don't run user APCs in NtCancelIoFile.
2015-05-07 15:38:57 +09:00
Sebastian Lackner
e40e5661ee
ntdll/tests: Add/remove todo_wine to avoid test failures.
2015-05-07 14:55:25 +09:00
Josh DuBois
44182ffb5b
ntdll: Avoid movs between rcx, rdx and xmm registers.
...
Apple's version of as chokes on movs between rcx and rdx and the xmm
registers.
2015-05-06 20:44:58 +09:00
Alexandre Julliard
c07a0561db
ntdll: Fallback to server calls for read and write on objects without a file descriptor.
2015-05-06 17:16:48 +09:00
Alexandre Julliard
860091d2fd
server: Add an async structure to the flush request to follow the common pattern.
2015-05-06 17:16:15 +09:00
Alexandre Julliard
165dd1ff36
server: Rename ioctl to irp to allow supporting various types of I/O requests.
2015-05-06 08:44:29 +09:00
Sebastian Lackner
ee6a477cab
ntdll: Return failure in NtProtectVirtualMemory when last argument is omitted.
2015-05-05 23:15:31 +09:00
Sebastian Lackner
64ee8a4a53
ntdll: Do not omit mandatory argument for VirtualProtect.
2015-05-04 20:07:58 +09:00
Sebastian Lackner
40c912b4be
ntdll: Use lockfree implementation for get_cached_fd.
2015-05-04 16:22:38 +09:00
Michael Müller
7567db85be
ntdll: Add support for Dynamic DST (daylight saving time) information in registry.
2015-04-28 15:37:54 +09:00
Thomas Faber
3d9693fa61
ntdll/tests: Avoid printing an unterminated string (DPH).
2015-04-24 14:30:04 +09:00
Jianqiu Zhang
4c41f2bb52
ntdll/tests: Add test for FileFsFullSizeInformation.
2015-04-23 20:43:19 +09:00
Stefan Leichter
a9ae8dbf14
ntdll: Add stub for WinSqmIsOptedIn.
2015-04-22 14:02:21 +09:00
Thomas Faber
bb781b4468
ntdll/tests: Ensure 4-byte alignment for ATOM_BASIC_INFORMATION.
2015-04-22 14:00:48 +09:00
Qian Hong
604c4dba80
ntdll: Correctly document the offset of ntdll_thread_data.
...
This is a follow up of 16ddc62405
.
2015-04-21 14:30:45 +09:00
Marcus Meissner
33d4125a8f
ntdll: Potential buffer overwrite (Coverity).
2015-04-20 14:38:41 +09:00
Andrew Cook
1d359a5827
server: Implement TerminateJobObject.
2015-04-07 23:15:47 +09:00
Andrew Cook
4113fd875c
ntdll: Return success for JobObjectBasicUIRestrictions.
2015-04-06 16:06:25 +09:00
Andrew Cook
5d85f57814
server: Track handle count of objects.
2015-04-03 17:07:37 +09:00
Sebastian Lackner
33c3990e4d
ntdll: Fix various bugs RtlUnwindEx on x86_64.
2015-04-03 17:07:36 +09:00
Andrew Cook
47ffeaee74
server: Implement io completion messages for job objects.
2015-04-03 00:33:29 +09:00
Andrew Cook
ecd41d1de7
server: Implement job limit flags.
2015-04-03 00:33:29 +09:00
Andrew Cook
3affd63b34
server: Implement IsProcessInJob.
2015-04-01 22:34:19 +09:00
Andrew Cook
98132f0364
server: Implement AssignProcessToJobObject.
2015-04-01 22:34:18 +09:00
Andrew Cook
0e78b0248d
server: Implement CreateJobObject.
2015-04-01 17:05:44 +09:00
Mark Harmstone
104161cfd2
ntdll: Treat strings as case-insensitive in find_window_class.
2015-03-31 00:04:44 +09:00
Piotr Caban
966c5dffed
ntdll: Improve parameter validation in RtlAddAce.
2015-03-30 20:03:44 +09:00
André Hentschel
472340052a
ntdll: Get available CPU info from FreeBSD on ARM.
2015-03-27 21:28:52 +09:00
André Hentschel
2b5deddc05
ntdll: Fix CPU level on ARM.
2015-03-27 21:28:48 +09:00
André Hentschel
a29ca210e6
ntdll: Add support for FreeBSD on ARM.
2015-03-27 21:28:44 +09:00
Michael Müller
64c48d0e63
ntdll: Define a couple more information classes.
2015-03-26 14:20:48 +09:00
Francois Gouget
f505e6fb4a
Assorted spelling fixes.
2015-03-19 21:54:14 +09:00
Sebastian Lackner
5f49f07d49
ntdll: Handle write watches in virtual_uninterrupted_write_memory.
2015-03-19 17:06:29 +09:00
Sebastian Lackner
ab91c01112
ntdll: RtlFindActivationContextSectionString should accept a NULL pointer as data.
2015-03-17 16:02:25 +09:00
Sebastian Lackner
41b24f2168
ntdll: Move all structs and definitions to the beginning in threadpool.c.
2015-03-17 14:52:07 +09:00
Francois Gouget
872e96fc4e
ntdll/tests: Remove an unneeded NONAMELESSSTRUCT directive.
2015-03-16 15:04:52 +09:00
Francois Gouget
ca1545cf17
ntdll: Remove unneeded NONAMELESSXXX directives.
2015-03-16 15:04:50 +09:00
Sebastian Lackner
2daca626d4
ntdll: Implement [Nt|Zw]QueryLicenseValue.
2015-03-13 21:53:25 +09:00
Qian Hong
c61407f651
ntdll: Removed incorrect stub message in NtQueryObject and NtSetInformationObject.
2015-03-11 12:42:35 +09:00
Sebastian Lackner
ae309c2d00
ntdll: Move static threadpool variables into a struct.
2015-03-10 15:33:20 +09:00
Qian Hong
2a098ab8a8
ntdll: Implemented FileNetworkOpenInformation class support in NtQueryInformationFile.
2015-03-10 15:18:13 +09:00
Sebastian Lackner
bf65fef8bc
ntdll: Assert when trying to replace an exiting file descriptor in fd_cache.
2015-03-04 21:50:38 +09:00
Sebastian Lackner
b282a937e2
ntdll/tests: Add tests for TpSimpleTryPost function.
2015-03-03 17:11:25 +09:00
Sebastian Lackner
d336f1fe68
ntdll/tests: Add tests for NtQueryLicenseKey.
2015-03-03 17:10:37 +09:00
Alexandre Julliard
1146e251fc
ntdll: Avoid the intermediate user APC callback.
2015-03-03 17:02:04 +09:00
Alexandre Julliard
0a241b0fcc
ntdll: Allow specifying the user APC argument in the system APC callback.
2015-03-03 17:02:03 +09:00
Alexandre Julliard
8843bc144d
server: Allow passing an argument for the user APC async I/O callbacks.
2015-03-03 17:02:03 +09:00
Alexandre Julliard
577cb166d4
ntdll: Don't queue a user APC when there is no callback function.
2015-03-02 23:00:29 +09:00
Alexandre Julliard
ff84bf8bdd
ntdll: Move NtNotifyChangeDirectoryFile to file.c and make it use the standard fileio structure.
2015-03-02 23:00:28 +09:00
Alexandre Julliard
4f43d743e0
ntdll: Use the fileio structure and callback also for ioctl calls.
2015-03-02 23:00:27 +09:00
Sebastian Lackner
6bec132c7a
ntdll: Try to handle write-watches while we're on the signal stack.
2015-02-27 14:59:08 +09:00
Uwe Bonnes
2148248976
ntdll: Add more serial speed settings.
2015-02-13 18:20:33 +09:00
Charles Davis
97bda9a05f
ntdll: Support 64-bit Mac OS.
2015-02-06 22:35:17 +09:00
Hans Leidekker
faf70e2fbd
ntdll: Fix calculation of process and thread affinity masks on systems with a large number of processors.
2015-01-21 15:31:16 +01:00
Michael Stefaniuc
52e665a3bd
ntdll/tests: Remove unused assigments (PVS-Studio).
2015-01-19 14:31:25 +01:00
Qian Hong
cffd86f195
ntdll: Make RtlAddVectoredExceptionHandler hotpatchable.
2015-01-16 16:52:20 +01:00
Qian Hong
d45bda3014
ntdll: Fixed buffer size checking for ProcessWow64Information on 64bit in NtQueryInformationProcess.
2015-01-15 11:39:42 +01:00
Nikolay Sivov
7a612654dc
ntdll: Skip context dependencies that have allowDelayedBinding attribute set.
2014-12-31 21:13:31 +01:00
Nikolay Sivov
c134466224
ntdll: Fix 'description' element parsing to allow empty elements.
2014-12-28 19:08:47 +01:00
Nikolay Sivov
37c179794e
ntdll: Accept asm.v2 as default namespace.
2014-12-28 19:08:23 +01:00
André Hentschel
9598a39bdb
ntdll: Always define UTIME_OMIT if not yet defined.
2014-12-23 20:43:01 +01:00
Sergey Kalinichev
7eed378f5d
ntdll: Add stub for RtlSetHeapInformation.
2014-12-19 22:36:17 +01:00
Erich E. Hoover
ca51e113e4
ntdll: Unify retrieving the attributes of a file.
2014-12-17 19:42:23 +01:00
André Hentschel
550f556dca
ntdll: Remove unused macros.
2014-12-09 19:36:06 +01:00
Piotr Caban
f87767bc35
ntdll: Handle ACTCTX_FLAG_ASSEMBLY_DIRECTORY_VALID flag when opening manifest in RtlCreateActivationContext.
2014-11-28 17:04:07 +01:00
Sebastian Lackner
275ee4b376
ntdll: Implement Rtl[Add|Remove]VectoredContinueHandler semi-stubs.
2014-11-14 14:16:30 +09:00
Sebastian Lackner
009b6a25bb
ntdll/tests: Add basic tests for Rtl[Add|Remove]VectoredContinueHandler.
2014-11-14 14:16:27 +09:00
André Hentschel
8fd7c73a2b
ntdll/tests: Get rid of "defined but not used" warnings on non-x86(_64) platforms.
2014-11-13 18:46:38 +09:00
Austin English
4c0ceacee0
ntdll: Add stubs for vectored continue handler.
2014-11-13 16:31:49 +09:00
Hans Leidekker
b31ed58b96
server: Set the security descriptor of named pipe objects.
2014-11-12 21:09:50 +09:00
André Hentschel
d978dcedd5
ntdll/tests: Clarify ok() conditions (PVS-Studio).
2014-11-11 14:21:31 +09:00
Sebastian Lackner
1c1e7ed016
ntdll: Add support for ATL thunk 'POP ecx; POP eax; PUSH ecx; JMP 4(%eax)'.
2014-10-21 18:51:05 +09:00
Sebastian Lackner
dcd2b0a366
ntdll: Add support for ATL thunk 'MOV this,ecx; MOV func,eax; JMP eax'.
2014-10-21 18:51:04 +09:00
Sebastian Lackner
40472cd3a7
ntdll: Add support for ATL thunk 'MOV this,edx; MOV func,ecx; JMP ecx'.
2014-10-21 18:51:02 +09:00
Sebastian Lackner
aab0d25a49
ntdll: Add support for ATL thunk 'MOV this,ecx; JMP func'.
2014-10-21 18:50:59 +09:00
Akihiro Sagawa
e94d2e0459
server: KeyNameInformation returns the full name of the key.
2014-10-15 22:01:59 +09:00
Sebastian Lackner
34b2d920b4
ntdll: Improve check_atl_thunk to prevent passing exceptions to the usermode application.
2014-10-15 11:52:06 +09:00
Sebastian Lackner
1c957ceb96
ntdll: Only check for ATL thunk if allowed by execute option flags.
...
Checking for ATL thunks can be disabled by setting MEM_EXECUTE_OPTION_DISABLE_THUNK_EMULATION.
2014-10-13 18:31:26 +09:00
Sebastian Lackner
e16996bb3d
ntdll: reset_write_watches shouldn't remove enforced exec permissions.
2014-10-13 18:31:19 +09:00
Sebastian Lackner
aa3c6111d9
ntdll: Ensure force_exec_prot is also used for views with write watch permissions.
2014-10-13 18:31:14 +09:00
Sebastian Lackner
0cf3d78167
ntdll: Avoid recursive exception handler calls when handling guard pages.
...
The ATL check leads to problems when a page is protected with guard page protection.
raise_segv_exception is called with EXCEPTION_EXECUTE_FAULT. The ATL check tries to
read the memory, and triggers another exception handler. This time the virtual_handle_fault
check is executed, and removes the guard page protection. Afterwards, when the ATL
check returns, the exception is _not_ catched by virtual_handle_fault, but instead
passed to the application.
2014-10-13 18:31:06 +09:00