Commit Graph

2952 Commits

Author SHA1 Message Date
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
Marcus Meissner 2e7dc35786 ntdll: Check and fix PE header protections. 2010-11-08 18:12:57 +01:00
Detlef Riekenberg 5e95d7039e ntdll: Add stubs for Rtl[G/S]etCurrentTransaction. 2010-11-08 13:30:20 +01:00
Alexandre Julliard 3aa6e3bd89 ntdll: Explicitly check for failure to map page 0. 2010-11-04 17:48:01 +01:00
Alexandre Julliard 3fa03e1c78 ntdll: Report memory areas in DOS memory to be free even when not reserved. 2010-11-04 17:47:29 +01:00
André Hentschel 3151ef0d06 ntdll: Detect more processor features. 2010-11-04 11:48:44 +01:00
André Hentschel 186ada5472 ntdll: Add Support for loading ARM PEs. 2010-11-02 11:16:37 +01:00
Alexandre Julliard adb0703cff ntdll: Don't try to join with the main thread. 2010-11-01 11:28:38 +01:00
Alexandre Julliard 4a1379d804 include: The FLOATING_SAVE_AREA type is i386-specific. 2010-10-20 18:37:09 +02:00
Alexandre Julliard 085d398302 ntdll: Avoid using the CONTEXT86 type. 2010-10-20 18:37:07 +02:00
Alexandre Julliard e7c67c0cb1 ntdll: More complete implementation of NtAreMappedFilesTheSame. 2010-10-19 16:14:40 +02:00
Alexandre Julliard 31d37b3489 ntdll: Get rid of the FILE_VIEW typedef. 2010-10-19 15:34:36 +02:00
Krzysztof Nowicki eb0e82a755 ntdll: Fix possible deadlock in vectored exception handling. 2010-10-12 12:30:48 +02:00
Alexandre Julliard 4d7ad03c3c ntdll: Use the more portable cfsetospeed() function to set serial baud rate. 2010-10-08 11:56:46 +02:00
Stefan Oberhumer 024530133c ntdll/tests: Add some more tests for qsort(). 2010-10-05 15:16:39 +02:00
Stefan Oberhumer 6a3ca3ca5d ntdll: Fix possible overflow computing middle in NTDLL_mergesort(). 2010-10-05 12:20:19 +02:00
Stefan Oberhumer c8fb366eb0 ntdll: qsort: Comparator must not get the same pointer. 2010-10-05 12:20:08 +02:00
Stefan Oberhumer 38769ddfe9 ntdll: qsort: Check if necessary to sort. 2010-10-05 12:20:00 +02:00
Rudolf Mayerhofer d0e0e69ff1 ntdll: Set CPU_FEATURE_HTT when running on a HTT capable system. 2010-10-04 15:00:07 +02:00
Stefan Oberhumer 1d241bb200 ntdll: Make NTDLL_mergesort() stable. 2010-10-04 15:00:07 +02:00
Stefan Oberhumer 98134a8c5a ntdll: Fix 64 bit issue within NTDLL_mergesort(). 2010-10-04 15:00:07 +02:00
Alexandre Julliard be94563670 ntdll/tests: Make some variables static. 2010-10-01 13:37:03 +02:00
Alexandre Julliard 9227eb2c9d ntdll: Add a workaround for Ubuntu's stupid ptrace breakage. 2010-09-30 17:51:12 +02:00
Alexandre Julliard dec7effac0 ntdll: Add support for retrieving the server pid from the socket credentials. 2010-09-30 17:05:13 +02:00
Alexandre Julliard 179715251d server: Make the fd passing code slightly more portable. 2010-09-30 11:53:07 +02:00
Alexandre Julliard 7a151d5e3e ntdll/tests: Fix a test failure on 64-bit platforms. 2010-09-30 11:19:31 +02:00
Hans Leidekker 92b7f57e1e winecfg: Update Windows 7 version to Service Pack 1. 2010-09-27 14:10:45 +02:00
Peter Oberndorfer 9c2203123d ntdll/tests: Remove unused NtWaitForSingleObject import. 2010-09-22 19:57:37 +02:00
André Hentschel 171c9a5327 ntdll: Add ARM support. 2010-09-20 12:58:44 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Brad Smith 466b64032f ntll: Fix the detection of the number of CPUs for OpenBSD. 2010-09-18 13:10:07 +02:00
Alexandre Julliard e317b6068e ntdll/tests: Fix the image protection test on Mac OS where the image limits are only approximative. 2010-09-15 11:28:54 -05:00
Henri Verbeet 689c45b9b9 ntdll: Do not return STATUS_SUCCESS on failure in NtQueryObject(). 2010-09-15 10:32:55 -05:00
André Hentschel 053be78e39 ntdll: Remove an unused function from signal_powerpc. 2010-09-08 13:30:23 +02:00