Commit Graph

2985 Commits

Author SHA1 Message Date
Thomas Faber 385b8c3988 ntdll/tests: Fix build with MSVC. 2011-10-17 17:45:03 +02:00
Uwe Bonnes 89c2a4c596 ntdll: Generate a single EV_TXEMPTY when the TX buffer turns empty. 2011-10-14 20:26:44 +02:00
Bernhard Loos cf14ccc886 ntdll/tests: FILE_OVERWRITE and FILE_OVERWRITE_IF aren't legal for NtCreateNamedPipeFile. 2011-10-13 19:57:19 +02:00
Nikolay Sivov 7c648cb695 ntdll: Fix SID data copy length. 2011-10-12 20:52:46 +02:00
Charles Davis fe6140e0fd ntdll: Also set CPU_FEATURE_HTT on Mac OS. 2011-10-11 13:37:49 +02:00
Francois Gouget 5feb7b9b33 ntdll: ETIME is not defined on FreeBSD. 2011-10-10 13:32:01 +02:00
Andrew Talbot c228ecba39 ntdll: Mark some fall-throughs in a switch statement. 2011-10-08 20:23:06 +02:00
André Hentschel 905a819d7c ntdll: Map ETIME to STATUS_IO_TIMEOUT. 2011-10-08 20:18:09 +02:00
Bernhard Loos 07b681e04a ntdll: Implement the NamedPipeConfiguration value for the FilePipeLocalInformation class of NtQueryInformationFile. 2011-10-08 19:56:08 +02:00
Bernhard Loos 9034e694a3 server: Correctly implement permission checking for named pipes. 2011-10-08 19:55:35 +02:00
Bernhard Loos e4c2a6d1cd server: It's possible to call NtQueryInformationFile on a pipe if it was opened with access 0. 2011-10-08 19:55:19 +02:00
Dmitry Timoshkov 988307e87b ntdll: Use STATUS_INVALID_PAGE_PROTECTION as return value for invalid protections. 2011-09-28 11:00:02 +02:00
Bernhard Loos bded698462 server: Sharing 0 is not allowed for named pipes. 2011-09-27 16:54:00 +02:00
Bernhard Loos 039bacb0c9 server: Store sharing state for named pipes. 2011-09-27 16:54:00 +02:00
André Hentschel 55542281f5 ntdll/tests: Don't test function directly when reporting GetLastError(). 2011-09-26 18:16:13 +02:00
Francois Gouget 17e62a5603 ntdll: Fix printing NULL strings. 2011-09-20 16:21:38 +02:00
Francois Gouget bee334003b ntdll: Don't trace potentially uninitialized structures if we are not going to use them. 2011-09-19 17:56:05 +02:00
Francois Gouget 344ef82b68 ntdll/tests: Skip some tests if not allowed to modify image file execution options. 2011-09-19 17:56:04 +02:00
Frédéric Delanoy a5229fc51f ntdll: Add NtCreateFile tests for invalid chars in file/dir name. 2011-09-12 16:49:56 +02:00
André Hentschel c20813f15f ntdll: Remove dead increments (clang). 2011-09-09 17:33:14 +02:00
Alexandre Julliard 33b0f0edff ntdll: Fix protection flags for uninitialized sections. 2011-09-09 12:40:44 +02:00
André Hentschel 322c2f45f8 ntdll: Fix a comment. 2011-09-08 11:21:49 +02:00
André Hentschel ca8d7652f6 ntdll/tests: Tests for _wcslwr and _wcsupr. 2011-09-08 11:17:09 +02:00
André Hentschel 94a9db6383 ntdll/tests: Run the execution test only on x86 platforms. 2011-09-08 11:13:36 +02:00
André Hentschel 8fc7419120 ntdll: Allow reading from a writable section. 2011-09-07 18:13:33 +02:00
Octavian Voicu ce60eb8459 ntdll: Fix two buffer overflow conditions in RtlDosPathNameToNtPathName_U. 2011-09-06 16:50:25 +02:00
Michael Stefaniuc 5a886316b4 ntdll: Don't use HIWORD to check if an atom is a small int. 2011-09-05 17:14:26 +02:00
Alexandre Julliard 4b27371392 ntdll: Add support for asmv1 namespace prefix in xml elements. 2011-09-04 19:40:56 +02:00
Bernhard Loos 23e1777054 ntdll: Provide a timestamp debug channel, which prints a millisecond resolution timestamp in front of debug output. 2011-09-01 18:06:39 +02:00
Marcus Meissner 956487434d ntdll: Handle errno also for non ENOENT errors on lseek (Coverity). 2011-08-31 19:43:07 +02:00
Alexandre Julliard 127b27414e ntdll: Prefer loading native manifests over Wine ones. 2011-08-29 12:08:19 +02:00
Alexandre Julliard f8397ef229 ntdll: Use the manifest with the highest matching version number. 2011-08-29 12:08:19 +02:00
Alexandre Julliard 2febc9d41a ntdll: Try to match the language name when looking for a manifest file. 2011-08-29 12:08:19 +02:00
Alexandre Julliard bfb98ace57 ntdll/tests: Wait for async I/O to complete when the result is STATUS_PENDING. 2011-08-26 11:59:49 +02:00
Francois Gouget bf05d85f99 ntdll: Detect if NX support is enabled. 2011-08-24 19:07:45 +02:00
Francois Gouget 5197ab4e52 ntdll/tests: Fix the spelling of IID_Endianness. 2011-08-24 19:07:45 +02:00
Grazvydas Ignotas 006413afe4 ntdll: Use swapping method to return . and .. as first entries. 2011-08-24 13:56:37 +02:00
Grazvydas Ignotas fbf537fb60 ntdll/tests: Test NtQueryDirectoryFile with different ReturnSingleEntry and RestartScan flags. 2011-08-24 13:54:41 +02:00
Nikolay Sivov 573db9ef63 ntdll: While requesting TokenGroups calculate required user buffer size in server. 2011-08-23 16:53:54 +02:00
Bernhard Loos b8629f55f1 ntdll: Initialize the Length field of PEB->LdrData. 2011-08-22 19:49:39 +02:00
Nikolay Sivov 8e904f95c3 ntdll: Stub TokenSessionId for query call. 2011-08-22 16:14:35 +02:00
André Hentschel abcdcd9eea ntdll: Accept double-digit CPU families. 2011-08-22 16:14:32 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Maarten Lankhorst 57493fdd8c ntdll: Use FUTEX_PRIVATE_FLAG for critical section futexes when available. 2011-08-04 09:03:57 +02:00
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +02:00
Francois Gouget 21d6086c60 ntdll: Fix the field names of KUSER_SHARED_DATA and update it. 2011-08-03 14:15:48 +02:00
Francois Gouget 209acc5c89 ntdll/tests: Fix compilation on systems that don't support nameless unions. 2011-08-01 11:04:48 +02:00
Alexandre Julliard 06722210a8 ntdll: Remove divl second argument for compatibility with clang. 2011-07-29 19:18:41 +02:00
Bernhard Loos e0f54d1b20 ntdll/tests: Add a number of named pipe tests using the nt api and ioctls. 2011-07-27 17:04:57 +02:00
Austin English 5a56fba741 ntdll/tests: Remove a dead assignment (LLVM/Clang). 2011-07-26 10:20:55 +02:00
Dmitry Timoshkov 3d81e97c75 kernel32: Add a test how PE section characteristics get mapped into memory page access, make it pass under Wine. 2011-07-20 19:23:04 +02:00
Bernhard Loos 070cbfc412 ntdll/tests: Add a test for STATUS_OBJECT_TYPE_MISMATCH. 2011-07-20 19:23:04 +02:00
Grazvydas Ignotas 5ae558bac7 ntdll/tests: Test NtQueryDirectoryFile with RestartScan set to FALSE. 2011-07-19 18:26:22 +02:00
Grazvydas Ignotas 2cc56f379c server: Set debug enable bits briefly to commit the addresses to kernel. 2011-07-18 16:23:30 +02:00
Grazvydas Ignotas fa179b1c26 server: Set RW and LEN bits of DR7 before setting DR0-DR3. 2011-07-18 16:23:30 +02:00
Grazvydas Ignotas 382d953872 ntdll/tests: Add more debug register tests. 2011-07-18 16:23:30 +02:00
Austin Lund 55946e3cce ntdll/tests: Added tests for ObjectTypeInformation class in NtQueryObject. 2011-07-07 14:46:15 +02:00
Alexandre Julliard 30cb179fe2 ntdll: Encode the function pointers in the vectored handler list. 2011-06-28 08:01:58 -05:00
André Hentschel de1d35eabc ntdll: Improved implementation of the segv handler on ARM. 2011-06-21 11:22:47 +02:00
Alexandre Julliard f4024eaa49 ntdll: Fetch the windows directory from the shared user data. 2011-06-16 12:29:21 +02:00
Jörg Höhle bcd2d0ec5b ntdll: Use list_empty() instead of list_count() == 0. 2011-06-16 11:57:25 +02:00
André Hentschel 3eb91fbc3c ntdll: Parse ARM CPU level. 2011-06-16 11:15:56 +02:00
Marcus Meissner a73a6e0cde ntdll: Specify div to be divl.
Avoids a clang bug.
2011-05-30 11:15:21 +02:00
Marcus Meissner 0f0692716b ntdll: Mark FILE_umask with hidden visibility. 2011-05-27 12:21:39 +02:00
André Hentschel 4e26336eae ntdll: Improved ARM little endianess detection. 2011-05-23 11:14:53 +02:00
Alexandre Julliard e1eb6228f4 ntdll: Ask the server to suspend the thread in the get/set_thread_context requests. 2011-05-06 12:49:42 +02:00
Alexandre Julliard 45075b2f9c server: Add separate requests for getting/setting the thread context during suspend. 2011-05-06 12:25:34 +02:00
Marcus Meissner 2802d3344d ntdll: Mark internal functions as hidden. 2011-04-25 13:01:52 +02:00
André Hentschel d0ea543f11 ntdll: Make sure RtlCaptureContext doesn't compile as Thumb but ARM. 2011-04-22 11:14:00 +02:00
André Hentschel 5789311201 ntdll: Fix usage of ContextFlags on Sparc. 2011-04-21 12:45:31 +02:00
André Hentschel c7600f8d75 ntdll: Fix usage of ContextFlags on ARM. 2011-04-21 12:45:29 +02:00
André Hentschel e40d1aae36 ntdll: Be more generic when storing ARM context. 2011-04-21 12:45:27 +02:00
André Hentschel 6f9d1840ef ntdll: Remove Alpha support. 2011-04-20 13:09:39 +02:00
Alexandre Julliard 900352bc6b server: Store a mapping instead of a file for process dlls. 2011-04-18 14:45:32 +02:00
André Hentschel 372a32b53e ntdll: Implement call_stack_handlers on ARM. 2011-04-18 12:37:14 +02:00
André Hentschel 5b345c9b60 ntdll: Trace context on ARM. 2011-04-18 12:31:13 +02:00
André Hentschel c8c5b6e08f ntdll: Add implementation for RtlCaptureContext on ARM. 2011-04-18 12:31:10 +02:00
André Hentschel a38f7e86be ntdll: Fix setting the ExceptionAddress on ARM. 2011-04-18 12:30:28 +02:00
Alexandre Julliard cc01c46f41 ntdll: Rewrite the SystemProcessorPerformanceInformation handing to avoid code duplication.
Also include idle time in kernel time.
2011-04-15 10:56:55 +02:00
Alexandre Julliard baa04014eb ntdll: Implement the ProcessAffinityMask case in NtQueryInformationProcess. 2011-04-14 19:57:34 +02:00
Austin English 24ba89c529 ntdll: Add support for win2k8r2. 2011-04-13 17:21:42 +02:00
Piotr Caban 6b2c9505c6 ntdll: Restore stack guard and prevent stack from shrinking. 2011-04-13 14:13:57 +02:00
Bart Van Assche e5fe510720 ntdll: Avoid examining uninitialized data. 2011-03-31 12:49:34 +02:00
Dmitry Timoshkov f834d23197 server: FILE_OVERWRITE and FILE_OVERWRITE_IF need the FILE_WRITE_ATTRIBUTES permission. 2011-03-30 15:10:20 +02:00
Dmitry Timoshkov 0cc619ccc5 ntdll: Add more NtCreateFile tests. 2011-03-30 15:10:12 +02:00
Steven Wallace b3369e06c7 ntdll: implemented ProcessDebugFlags in NtQueryInformationProcess. 2011-03-30 15:10:01 +02:00
Piotr Caban 49250bec7c ntdll: Don't call compare function on memory not provided by user in qsort. 2011-03-30 12:20:47 +02:00
Bart Van Assche c0913ed064 ntdll: Fix race condition in RtlCreateHeap(). 2011-03-29 12:37:26 +02:00
Dmitry Timoshkov 3998820497 ntdll: Add a bunch of NtCreateFile tests. 2011-03-29 12:21:32 +02:00
André Hentschel f73ee0a249 ntdll: Add check for DragonFly BSD. 2011-03-28 17:30:20 +02:00
Dmitry Timoshkov bfd69719a6 ntdll: Use an NtWriteFile pointer instead of a static import. 2011-03-28 17:08:53 +02:00
Alexandre Julliard ab7efe7273 ntdll: Fix RtlGetSacl/DaclSecurityDescriptor for relative descriptors on 64-bit. 2011-03-09 13:44:11 +01:00
Maarten Lankhorst 67755d2593 ntdll: Fix time units for SystemPerformanceProcessorInformation, and steal idle time for kernel time. 2011-03-08 16:55:10 +01:00
Charles Davis f082eac97c ntdll: Implement CDROM_GetInterfaceInfo() on Mac OS. 2011-03-02 12:29:28 +01:00
Alexandre Julliard 29f5799996 ntdll: Don't print an error when architecture is set to win64 and the app is 64-bit. 2011-03-01 14:11:19 +01:00
Maarten Lankhorst f45b6c54be ntdll: Fix time accounting in NtQuerySystemInformation. 2011-02-24 18:25:48 +01:00
Charles Davis 03c29bf7f5 ntdll: Fix IOCTL_CDROM_RAW_READ on Mac OS. 2011-02-21 12:44:08 +01:00
Alexandre Julliard 9eba2de390 ntdll: Improve the error reporting for invalid PE file architectures. 2011-02-19 14:11:05 +01:00
Austin English fe9544abd2 ntdll/tests: Make sure return values are used (LLVM/Clang). 2011-02-14 13:33:33 +01:00
Austin English c57c9ce3d1 ntdll/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-14 13:33:32 +01:00
Austin English 39ef0b9d12 ntdll/tests: Make sure a return value is used (LLVM/Clang). 2011-02-11 14:50:17 +01:00
Austin English c549e34255 ntdll/tests: Make sure return value is used (LLVM/Clang). 2011-02-10 10:27:59 -06:00
Austin English 3dd514cee7 ntdll/tests: Make sure return values are used (LLVM/Clang). 2011-02-08 13:42:14 -06:00
André Hentschel e78bd6dfa1 ntdll: Only use ST_FIX_ALIGN on solaris. 2011-02-07 10:03:50 -06:00
max@mtew.isa-geek.net 708c43a2ef ntdll: Correct 'b' parameter descriptions for _alldiv and _aulldiv. 2011-02-04 15:25:31 +01:00
Nikolay Sivov d3d06c46d2 ntdll: Fix a compile time warning. 2011-02-01 18:14:09 +01:00
Alexandre Julliard 10dcc85de0 ntdll: Add support for longjmp in RtlUnwindEx. 2011-02-01 18:14:09 +01:00
Alexandre Julliard efbe695147 ntdll: Add a helper function for checking stack frame limits. 2011-02-01 12:38:58 +01:00
Alexandre Julliard 43682ce114 ntdll: Avoid copying and restoring the context in RtlCaptureContext for i386. 2011-02-01 12:38:58 +01:00
Andrew Nguyen f7385699a9 ntdll/tests: Avoid casting away const in comparison functions. 2011-02-01 12:38:57 +01:00
Andrew Nguyen c698fc86b9 ntdll: Fix one-time warning message output. 2011-02-01 12:38:57 +01:00
Alexandre Julliard 852d9675bc ntdll/tests: Avoid sizeof in a trace. 2011-01-31 15:36:32 +01:00
Alexandre Julliard c865b3f8e0 ntdll: Fix frame address check in RtlCaptureStackBackTrace to match what RtlUnwind does. 2011-01-31 14:30:26 +01:00
Charles Davis 4e44e153c5 ntdll: Check for case-insensitive volumes. 2011-01-28 17:23:57 +01:00
Alexandre Julliard b41cc4865c ntdll: Get rid of support for register entry points on x86_64. 2011-01-27 14:12:41 +01:00
Alexandre Julliard 672a084584 ntdll: Implement RtlRaiseException for x86_64 directly instead of using the winebuild-generated code. 2011-01-27 14:12:41 +01:00
Alexandre Julliard 1e6ff42d03 ntdll: Implement set_cpu_context for x86_64 directly instead of using the winebuild-generated code. 2011-01-27 14:12:41 +01:00
Alexandre Julliard 33e6238f04 ntdll: Avoid copying and restoring the context in RtlCaptureContext for x86_64. 2011-01-27 14:12:23 +01:00
Alexandre Julliard aa4ad6d766 ntdll: Capture the context inside RtlUnwindEx instead of assuming it's already initialized. 2011-01-27 14:10:34 +01:00
Alexandre Julliard 2e81ba5f4f include: Add a prototype for RtlUnwindEx on x86_64. 2011-01-27 14:10:31 +01:00
Loïc Maury 1b767a5948 ntdll : Implement CDROM_Verify to work on Mac OS X. 2011-01-25 14:47:14 +01:00
Piotr Caban b614a15328 server: Return multiple events in read_changes. 2011-01-19 14:13:33 +01:00
Austin English 9832bd6c54 ntdll: Add missing checks for FreeBSD_kernel. 2011-01-17 14:27:38 +01:00
Francois Gouget 2df9129c52 ntdll/tests: Fix compilation on systems that don't support nameless unions. 2011-01-17 12:51:15 +01:00
Matteo Bruni eb11dee4fc ntdll/tests: Add a FILE_APPEND_DATA test. 2011-01-12 18:12:48 +01:00
André Hentschel 40294182c1 ntdll: Respect multiple CPUs when faking values. 2011-01-04 11:46:31 +01:00
André Hentschel ba1f962d10 ntdll/tests: Don't test function directly when reporting GetLastError(). 2010-12-29 11:59:33 +01:00
Alexandre Julliard 086848a45f ntdll: Use the gettid system call on all Linux platforms. 2010-12-27 12:07:12 +01:00
Alexandre Julliard 264996a75d ntdll: Use the futex system calls on all Linux platforms. 2010-12-27 12:01:52 +01:00
Alexandre Julliard 0f9e93afaa ntdll: Use the getdents64 system call on all Linux platforms. 2010-12-27 12:01:43 +01:00
Alexandre Julliard 37ae7a533c ntdll: Use the syscall function instead of inline assembly. 2010-12-23 16:10:18 +01:00
Greg Geldorp 3e6d91280d ntdll/tests: Add alternative results for overlong instructions. 2010-12-22 14:30:37 +01:00
Alexandre Julliard 156ba4eddf ntdll: Avoid putting the virtual heap in the low 2Gb on 64-bit. 2010-12-17 13:26:00 +01:00
Alexandre Julliard e39c6d0474 ntdll: Don't worry about the DOS area on non-x86. 2010-12-16 10:25:14 +01:00
Alexandre Julliard e272b31b6b ntdll: Ensure alignment of static TLS data and free it at thread exit. 2010-12-15 13:16:55 +01:00
André Hentschel 74fecb3513 ntdll: Fix test failure on some NT4 machines. 2010-12-13 17:30:44 +01:00
Austin English b06cd31fe4 ntdll: Bump win2k3 version information to sp2. 2010-12-13 12:31:31 +01:00
Marcus Meissner e7cb2d35f0 ntdll: Report a failed executable mmap on nonexec filesystems. 2010-12-10 17:09:34 +01:00
Francois Gouget 036909e838 ntdll/tests: Add a trailing '\n' to an ok() call. 2010-12-03 16:08:25 +01:00
Hans Leidekker 71beac3219 ntdll: Don't call NtClose directly in delete_view. 2010-12-02 12:47:42 +01:00
Louis Lenders fa2b7066e5 ntdll: Set the IdleTime member from the SystemPerformanceInformation info class in NtQuerySystemInformation. 2010-11-26 14:58:39 +01:00
Gerald Pfeifer 8c7164603f ntdll/tests: Remove unused variable from test_query_volume_information_file. 2010-11-24 12:07:04 +01:00
Louis Lenders 5eac14f11c ntdll/tests: Add tests for NtQueryVolumeInformationFile with FileFsVolumeInformation class. 2010-11-23 14:19:08 +01:00
Hans Leidekker 63c19ab495 ntdll: Add a stub implementation of FSCTL_GET_RETRIEVAL_POINTERS. 2010-11-23 13:22:30 +01:00
Detlef Riekenberg 48f3335ffa ntdll: Add semi stub for TokenElevationType in NtQueryInformationToken. 2010-11-15 14:55:24 +01:00
Marcus Meissner da8c179d61 ntdll: Fixed file view mapping in regards to no-exec. 2010-11-15 13:20:09 +01:00
Vitaliy Margolen aafa74908b ntdll: Mask invalid flags for RtlQueueWorkItem. 2010-11-11 18:12:47 +01:00
André Hentschel 574a21cc14 ntdll/tests: Fix crash in japanese and chinese test. 2010-11-11 12:22:08 +01:00
Alexandre Julliard 11e71ede14 ntdll: Don't call vectored exception handlers under the critical section. 2010-11-10 20:55:07 +01:00
Alexandre Julliard 177a7e5683 Revert "ntdll: Fix possible deadlock in vectored exception handling."
This reverts commit eb0e82a755.
It's causing different deadlocks, notably when a thread tries to
remove a handler inside a handler.
2010-11-10 19:17:41 +01:00