Commit Graph

3344 Commits

Author SHA1 Message Date
Nikolay Sivov cddea89d22 ntdll: Support optional 'versioned' attribute for windowClass sections. 2013-08-15 16:19:03 +02:00
Qian Hong f56edbf537 ntdll: Fixed parameter list in spec file for RtlpNtQueryValueKey. 2013-08-15 16:16:37 +02:00
Nikolay Sivov 5ce01b3597 ntdll: Implement compatible FindActCtxSectionString() for window class section. 2013-08-02 14:36:12 +02:00
Nikolay Sivov 1692ccc56d ntdll: Added RtlFindActivationContextSectionGuid() stub. 2013-07-31 16:29:49 +02:00
Alexandre Julliard f8cdbecc25 ntdll: Add context definitions missing from the Android NDK. 2013-07-30 14:43:31 +02:00
Alexandre Julliard f7161ebe89 ntdll: Don't use TIOCGICOUNT if we don't have linux/serial.h to define the necessary struct. 2013-07-29 21:08:02 +02:00
Alexandre Julliard 581cef082e ntdll: Use fclose instead of endmntent since we use fopen anyway. 2013-07-29 21:07:12 +02:00
Nikolay Sivov 9e5097187e ntdll: Implement RtlHashUnicodeString(). 2013-07-24 14:35:09 -05:00
Nikolay Sivov 7e136d68f7 ntdll/tests: Properly skip on missing functions. 2013-07-22 19:31:28 +02:00
Dmitry Timoshkov 3d759a0c69 ntdll: NtAllocateVirtualMemory should fail to commit if an address range is already committed for a memory mapped file. 2013-07-19 14:40:17 +02:00
Alexandre Julliard 3799d55d9b ntdll: Implement RtlExitUserProcess. 2013-07-19 12:15:15 +02:00
Alexandre Julliard 1c11770159 ntdll: Simplify detach sequence now that there is no possible race on process exit. 2013-07-19 12:13:09 +02:00
Nikolay Sivov 173b834b4a ntdll/tests: Tests for RtlHashUnicodeString(). 2013-07-19 11:56:37 +02:00
Alexandre Julliard 4142fc9b52 ntdll/tests: Don't test . and .. masks, they don't work on Windows. 2013-07-02 10:03:50 +02:00
Alexandre Julliard 641e1bee02 ntdll/tests: Add some tests for NtQueryDirectoryFile with a non-wildcard mask. 2013-07-01 19:51:21 +02:00
Alexandre Julliard 96b7c71cfe ntdll: Leave NtQueryDirectoryFile early when a non-wildcard mask is used in the getdirentries case.
This avoids having to retry the getdirentries call which may fail if
the buffer size is too small.
2013-07-01 19:51:20 +02:00
Dmitry Timoshkov 934ba51c80 ntdll: Correct RtlFreeHeap .spec parameter type. 2013-06-26 12:14:41 +02:00
Piotr Caban 76bfbf43e9 server: Don't create new handle when DUP_HANDLE_CLOSE_SOURCE is used if possible. 2013-06-05 17:31:40 +02:00
André Hentschel ef856a29ef ntdll: Actually store PC in RtlCaptureContext on ARM. 2013-05-31 11:58:03 +02:00
Alexandre Julliard 45a2cf1e22 ntdll: Reimplement the x86_64 relay entry point in assembler. 2013-05-23 19:03:01 +02:00
Alexandre Julliard fb75238f7e ntdll: Reimplement the i386 relay entry point in assembler. 2013-05-23 19:03:01 +02:00
Alexandre Julliard f4e58868d4 ntdll: Make the entire relay entry point routine CPU-specific. 2013-05-23 19:03:00 +02:00
Dmitry Timoshkov 94336f1aab ntdll: Thread creation control is now taken care by server. 2013-05-17 12:29:43 +02:00
Dmitry Timoshkov 10476af626 include: Make KNONVOLATILE_CONTEXT_POINTERS match PSDK definition. 2013-04-30 11:47:05 +02:00
Dmitry Timoshkov e2791cdfb1 include: Make IMAGE_RESOURCE_DIRECTORY_ENTRY match PSDK definition. 2013-04-29 13:33:54 +02:00
Dmitry Timoshkov 59a23fb42f ntdll: Refuse to create new thread if the target process is being terminated. 2013-04-22 12:37:51 +02:00
Francois Gouget 77a142da55 ntdll: Remove an unused debug channel. 2013-04-18 19:12:57 +02:00
André Hentschel e187c4aec2 ntdll: Respect the 8-bit part in the ARM relocation. 2013-04-15 17:01:46 +02:00
Dmitry Timoshkov b92c82c942 server: Add support for NtTerminateProcess(0). 2013-04-15 16:45:33 +02:00
Daniel Lehman 12f3ac4f46 ntdll: Use larger virtual heap for 64-bit. 2013-04-12 11:56:10 +02:00
André Hentschel b6fdba7873 ntdll: Hint that call_entry_point is ARM assembler. 2013-04-05 11:57:52 +02:00
Alexandre Julliard cd03a51e7d ntdll: Set the address space limit before running application code. 2013-04-04 13:28:43 +02:00
Austin English 56057acdcd ntdll: Add a stub for RtlConvertToAutoInheritSecurityObject. 2013-03-27 20:12:26 +01:00
André Hentschel d53a55ea88 ntdll: Improve stub for FileFsAttributeInformation in NtQueryVolumeInformationFile. 2013-03-26 16:36:42 +01:00
André Hentschel 3c04958b8a ntdll: Implement RtlLookupFunctionEntry on ARM. 2013-03-25 14:08:42 +01:00
André Hentschel df7f4fb720 ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable on ARM. 2013-03-25 14:08:32 +01:00
Alexandre Julliard e3f9f7b388 ntdll: Copy some missing string functions from msvcrt. 2013-03-14 13:53:46 +01:00
Alexandre Julliard 17be935568 ntdll: Copy some missing math functions from msvcrt. 2013-03-14 13:43:46 +01:00
André Hentschel 6e8be236ee ntdll: Unify the usage of internal SIGCONTEXT type on ARM and ARM64. 2013-03-11 11:44:29 +01:00
André Hentschel 0effd926b6 server: Remove SPARC support. 2013-03-05 11:04:07 +01:00
André Hentschel 6c02f66075 ntdll: Remove SPARC support. 2013-03-05 11:01:27 +01:00
Andrew Talbot d0d28b96a4 ntdll: Avoid signed-unsigned integer comparisons. 2013-02-21 08:34:13 +01:00
Jörg Höhle 2f0b93ca13 ntdll: Stabilize CreateTimerQueueTimer callbacks over time. 2013-02-19 19:50:54 +01:00
André Hentschel 242da67082 ntdll: Correctly align the stack for odd numbers of arguments in relay traces on ARM. 2013-02-19 10:39:03 +01:00
Marcus Meissner fc179497bd kernel32: Use the correct pointer size in atl thunk (Coverity). 2013-02-18 10:31:22 +01:00
André Hentschel 22c3993226 ntdll: Implement RtlUnwind for ARM. 2013-02-13 17:44:06 +01:00
Alexandre Julliard 64ddb263d2 ntdll: Check for invalid %gs value in 32-bit code.
Suggested by Alessandro Pignotti.
2013-02-12 19:56:39 +01:00
Alexandre Julliard 99d89b347f ntdll: Add a helper function to check that a fault address lies in a known virtual memory view. 2013-02-12 19:56:19 +01:00
André Hentschel b288f7be18 ntdll: Set TPIDRURW to TEB on thread init for ARM. 2013-02-07 18:10:43 +01:00
Jörg Höhle 4f6db78ca0 ntdll: Use the monotonic time counter also for timer queues. 2013-02-07 15:54:34 +01:00
Alexandre Julliard 34a1426fc3 ntdll: Use the monotonic counter for NtGetTickCount. 2013-01-28 18:22:16 +01:00
Alexandre Julliard 04e14c7b46 ntdll: Add support for the monotonic time counter on Mac OS X. 2013-01-28 18:22:13 +01:00
Alexandre Julliard 25598513dc ntdll: Use a monotonic time counter to implement NtQueryPerformanceCounter. 2013-01-28 15:39:37 +01:00
Alexandre Julliard 606c88a348 ntdll: Use the __NR_ names for Linux system calls. 2013-01-21 21:37:02 +01:00
André Hentschel 0993f8bb7b ntdll: Implement IMAGE_REL_BASED_THUMB_MOV32 relocation on ARM. 2013-01-21 12:51:14 +01:00
Detlef Riekenberg 3e162934d1 ntdll/tests: Fix SYSTEM_CACHE_INFORMATION failures. 2013-01-17 12:18:54 +01:00
André Hentschel 855be0bb55 ntdll: Add ARM64 cpu info. 2013-01-16 12:52:15 +01:00
André Hentschel da9fbef953 ntdll: Add ARM64 signal handling. 2013-01-16 12:51:50 +01:00
André Hentschel d11e72f925 server: Add ARM64 support. 2013-01-16 12:49:20 +01:00
Alexandre Julliard af59e6f1b7 configure: Get rid of the check for strings.h. 2013-01-09 12:25:14 +01:00
Alexandre Julliard 90e90e3b6a ntdll: Make the page_size variable global. 2013-01-08 16:35:30 +01:00
Alexandre Julliard 59c30130a0 ntdll: Remove unused include. 2012-12-27 17:15:40 +01:00
Hans Leidekker c019083240 kernel32: Implement SetFileValidData. 2012-12-04 14:42:28 +01:00
André Hentschel 7f74df0224 ntdll/tests: Fix check for PAGE_READWRITE. 2012-12-03 18:24:39 +01:00
Charles Davis 5da1eaf213 ntdll: Add support for BSD-style creation ("birth") time. 2012-11-30 19:12:14 +01:00
Charles Davis ed5e0a6e41 ntdll: Add support for nanosecond precision file times on *BSD. 2012-11-30 19:12:14 +01:00
André Hentschel 579f4f9da0 ntdll: Exit when we can't map the shared user data. 2012-11-28 20:14:51 +01:00
Alexandre Julliard 3050f11f47 ntdll: Fix access/write file time mixup. 2012-11-08 00:02:06 +01:00
Francois Gouget d55bb4497f Assorted spelling fixes. 2012-11-05 11:30:30 +01:00
Jörg Höhle 602807c2a5 ntdll: Do not execute callbacks past DeleteTimer(INVALID_HANDLE_VALUE). 2012-10-31 18:08:02 +01:00
Erich Hoover 5c95bec847 ntdll: Implement nanosecond precision file time storage. 2012-10-30 18:08:11 +01:00
Alexandre Julliard 487c50c1e7 ntdll: Remove futimes implementation from libport, it's only needed in ntdll. 2012-10-30 18:08:11 +01:00
Alexandre Julliard 7b704102a8 ntdll: Add a helper function to set file times. 2012-10-30 18:08:10 +01:00
Alexandre Julliard aacc450955 ntdll: Avoid using Low/HighPart of a large integer when not necessary. 2012-10-30 18:08:05 +01:00
Akihiro Sagawa bb4a31a8ed ntdll: Calculate SystemProcessInformation's ReturnLength and return it. 2012-10-24 14:19:47 +02:00
Akihiro Sagawa 3fc4e88473 ntdll: Add ReturnLength test for NtQuerySystemInformation with SystemProcessInformation. 2012-10-24 14:19:35 +02:00
André Hentschel 48ce2cc282 ntdll/tests: Remove duplicate function prototypes (coverity). 2012-10-24 11:31:04 +02:00
James Eder 7978a38f24 ntdll: Split up feature detection by architecture. 2012-10-23 12:29:13 +02:00
James Eder 0d5f301352 ntdll: Use build-time API detection instead of OS detection for finding the number of processors. 2012-10-23 12:29:08 +02:00
James Eder a6eec2cf6a ntdll: Add detection for PF_SSE_DAZ_MODE_AVAILABLE. 2012-10-22 11:39:12 +02:00
James Eder ebc7ffd527 ntdll: Add detection for Revision in get_cpuinfo(). 2012-10-22 11:38:12 +02:00
James Eder 6db42d3650 ntdll: Handle CPU Level (family) as a vendor specific component. 2012-10-22 11:38:01 +02:00
James Eder 925fd2a223 ntdll: Add more feature detection in get_cpuinfo(). 2012-10-22 11:37:55 +02:00
James Eder 1ce0c9578a ntdll: Add support for cpuid on x86_64. 2012-10-22 11:37:43 +02:00
Maarten Lankhorst 7457f37e4a ntdll: Set SO_PASSCRED before connecting to eliminate a race condition in obtaining server_pid. 2012-10-18 19:31:15 +02:00
Vincas Miliūnas 6314cf0295 kernel32: Added implementation of FileIdBothDirectoryInfo for GetFileInformationByHandleEx. 2012-10-12 13:14:43 +02:00
Alexandre Julliard be2b45ce0a ntdll/tests: Fix some test failures on Windows. 2012-10-12 11:47:01 +02:00
Christian Costa 49d8b4c039 ntdll: Init retv to FALSE so in case of exception the trace shows the failure. 2012-10-01 12:05:48 +02:00
André Hentschel 0da26cfc4c ntdll/tests: Fix test failure on win8. 2012-09-25 11:19:35 +02:00
Francois Gouget 709a0b764d Use the CP_ACP and NULL macros instead of numeric literals when converting strings between ANSI and Unicode. 2012-09-24 22:27:28 +02:00
Michael Stefaniuc dfd4191de4 ntdll/tests: Fix a memory leak (Smatch). 2012-09-17 12:05:48 +02:00
James Eder 2a71712b51 ntdll: Add more complete implementation of NtPowerInformation. 2012-09-14 12:04:48 +02:00
James Eder fbd5a9aaff ntdll/tests: Add test for ProcessorInformation case of NtPowerInformation. 2012-09-13 16:55:33 +02:00
James Eder c683b98da5 ntdll: Return as many PROCESSOR_POWER_INFORMATIONs as there are CPUs. 2012-09-13 16:49:16 +02:00
Michael Stefaniuc 3fa6bd0ced ntdll: IOCTL_DISK_GET_MEDIA_TYPES is the same as IOCTL_STORAGE_GET_MEDIA_TYPES. 2012-09-13 10:21:46 +02:00
Michael Stefaniuc 3454bdc07c ntdll: Always set a valid SUB_Q_HEADER AudioStatus for CD-ROMs. 2012-09-12 12:45:46 +02:00
James Eder 07f29c2ce7 ntdll: Remove outdated comment. 2012-09-11 18:10:55 +02:00
Piotr Caban 682b276ac5 ntdll: Added processor cache to SystemLogicalProcessorInformation (Mac). 2012-09-05 12:38:51 +02:00
Piotr Caban 785fde5920 ntdll: Added numa node information to SystemLogicalProcessorInformation (Mac). 2012-09-05 12:38:45 +02:00
Piotr Caban 6c2b7332d3 ntdll: Added processor cores information to SystemLogicalProcessorInformation (Mac). 2012-09-05 12:38:37 +02:00
Piotr Caban 67920ea6dd ntdll/tests: Added basic NtQuerySystemInformation(SystemLogicalProcessorInformation) tests. 2012-09-04 16:15:55 +02:00
Piotr Caban 59a54b0f8a ntdll: Added numa nodes information to SystemLogicalProcessorInformation (linux). 2012-09-04 16:15:54 +02:00
Piotr Caban a3d0a19624 ntdll: Added processor cache information to SystemLogicalProcessorInformation (linux). 2012-09-04 16:15:54 +02:00
Piotr Caban faccf6ad10 ntdll: Added partial support for SystemLogicalProcessorInformation information class in NtQuerySystemInformation (linux). 2012-09-04 16:15:54 +02:00
André Hentschel aac478f51b ntdll: Catch bad pointers in RtlWow64EnableFsRedirectionEx. 2012-08-22 12:11:19 +02:00
André Hentschel 8b774cb7a8 ntdll: Add support for Windows 8 version. 2012-08-21 11:49:58 +02:00
Jan Beich 83bac4113c ntdll: Fetch thread id on NetBSD. 2012-08-17 10:47:22 +02:00
Jan Beich fa4e97f454 ntdll: Prefer a portable function to get thread id. 2012-08-17 10:47:03 +02:00
André Hentschel 538a0abbd7 include: Rename IMAGE_FILE_MACHINE_ARMV7 to IMAGE_FILE_MACHINE_ARMNT. 2012-08-17 10:45:17 +02:00
Michael Stefaniuc abef6ab366 ntdll: Avoid TRUE:FALSE conditional expressions. 2012-08-14 11:58:40 +02:00
Detlef Riekenberg 5c3e919b10 ntdll: Support TokenIntegrityLevel. 2012-07-31 10:55:08 +02:00
Nikolay Sivov b1c3c8c898 kernel32: Added InitOnceInitialize() implementation. 2012-07-23 12:53:24 +02:00
Alexandre Goujon 5feea8ce1a kernel32/tests: Add a IOCTL_DVD_READ_STRUCTURE (DvdManufacturerDescriptor) test. 2012-07-17 11:55:52 +02:00
André Hentschel 1ceec8c789 ntdll: Add support for relay debugging on ARM. 2012-07-16 14:29:12 +02:00
Alexandre Goujon 9fce6a37ec kernel32/tests: Add a IOCTL_DVD_READ_STRUCTURE (DvdCopyrightDescriptor) test. 2012-07-12 16:13:49 -05:00
Alexandre Goujon a3b5dd2dff kernel32/tests: Add a IOCTL_DVD_READ_STRUCTURE (DvdPhysicalDescriptor) test. 2012-07-12 16:13:35 -05:00
Huw Davies 59f7c24432 ntdll: Remove a spurious assignment. 2012-07-11 10:00:18 -05:00
Huw Davies 760f487f6c ntdll: Increase the buffer size for processor features and add a check to catch future overflows. 2012-07-11 10:00:15 -05:00
Thomas Faber a7e95a27fb ntdll/tests: Add test for RtlIpv4StringToAddress. 2012-07-10 11:17:30 -05:00
Hans Leidekker 700eec9687 ntdll: Report 3dnow and sse features if the processor supports them. 2012-07-09 15:06:13 -04:00
Gerald Pfeifer 80d078d071 ntdll: Omit unused typedef in test_query_process_basic. 2012-07-09 09:59:46 -04:00
André Hentschel 567e44161c ntdll: Check for ARMv7 architecture dynamically when loading a PE. 2012-06-25 10:37:56 +02:00
Gerald Pfeifer 0016d8a2dd ntdll: Omit unused typedef in test_query_process. 2012-06-21 08:36:38 +02:00
André Hentschel 4f08dc0a7b ntdll: Check for NetBSD in CDROM_Verify. 2012-06-15 10:30:42 +02:00
André Hentschel a8139f0ba1 ntdll: Enhance FreeBSD checks for cdrom code to also check for DragonFly BSD when appropriate. 2012-06-13 12:10:23 +02:00
Dan Kegel 9af12506b0 ntdll: Avoid clobbering valgrind annotations during HeapReAlloc. 2012-06-11 11:26:43 +02:00
Erich Hoover e7dbb212a2 server: Access the completion from the file descriptor instead of the async object. 2012-06-06 13:47:28 +02:00
André Hentschel 04201096a2 ntdll: Add stub for NtQuerySystemEnvironmentValueEx. 2012-06-06 11:54:37 +02:00
Gerald Pfeifer 43923decba ntdll: Omit unused typedef in test_query_timeofday. 2012-06-05 19:58:12 +02:00
André Hentschel 54a9c0fc60 ntdll: Add a helper function that returns the record length of a dirent struct. 2012-06-04 12:17:56 +02:00
André Hentschel 4c44e151be ntdll: Get the unix tid on DragonFly BSD. 2012-06-04 12:17:55 +02:00
André Hentschel 1b1af34173 ntdll: Change default COM device for FreeBSD 8.0. 2012-06-04 12:17:55 +02:00
André Hentschel 1748f0de4e ntdll: Add default COM device for DragonFly BSD. 2012-06-04 12:17:54 +02:00
André Hentschel 1013d2e75c ntdll: Enhance FreeBSD checks to also check for DragonFly BSD when appropriate. 2012-06-04 12:17:54 +02:00
Detlef Riekenberg 0f4e9ffc22 ntdll: Implement RtlGetProductInfo. 2012-05-31 12:37:24 +02:00
Daniel Jelinski 6ec731b65c ntdll: Add missing parameters to syscall call. 2012-05-30 11:21:45 +02:00
Alexandre Julliard bb23d63663 ntdll: Export _local_unwind. 2012-05-29 21:33:45 +02:00
Detlef Riekenberg 979099a441 ntdll: Read the current processor with the __NR_getcpu syscall. 2012-05-21 11:33:55 +02:00
Detlef Riekenberg 0e235e5dc6 ntdll/tests: Add tests for NtGetCurrentProcessorNumber. 2012-05-21 11:33:40 +02:00
Detlef Riekenberg 1f80bacc65 ntdll: Use ThreadAffinityMask for NtGetCurrentProcessorNumber. 2012-05-21 10:27:40 +02:00
Detlef Riekenberg 02b74d3fd3 ntdll: Implement NtGetCurrentProcessorNumber. 2012-05-21 10:20:25 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
André Hentschel 2a58169dbc ntdll: Correctly handle Thumb exceptions on ARM. 2012-04-30 19:33:28 +02:00
Michael Stefaniuc 6ea39eed8d ntdll/tests: Avoid casting zero. 2012-04-16 12:07:05 +02:00
Austin English 132da2c428 ntdll: Give a better error message if signal context functions aren't defined. 2012-04-10 16:21:27 +02:00
Erich Hoover 48174b6d1e ntdll: Fix section header heap deadlock. 2012-04-06 20:10:58 +02:00
Henri Verbeet f1651e9208 ntdll: Use the copy of the section headers for applying memory protections as well in map_image(). 2012-04-04 17:22:12 +02:00
Henri Verbeet 31eff06654 ntdll: Free the correct section headers copy in map_image(). 2012-04-04 17:22:08 +02:00
Alexandre Julliard 3d4a73e601 ntdll: Add a __chkstk entry point for x86_64. 2012-04-02 12:46:40 +02:00
Alexandre Julliard aa55603b73 ntdll: Move the _chkstk implementation to signal_i386.c. 2012-04-02 12:46:38 +02:00
Alexandre Julliard a777676bc4 ntdll: Also call the unwind handler for the target frame. 2012-03-30 14:42:55 +02:00
Erich Hoover 3dd58d8bfb ntdll: Fix mapping sections for applications that map over the section headers. 2012-03-16 11:21:01 +01:00
Alexandre Julliard c0610daf77 ntdll: Properly follow jumps when checking a function epilog. 2012-03-15 20:29:23 +01:00
Ken Thomases 97645d7a1a ntdll: Fix status returned for too-long registry value names. 2012-03-13 10:28:10 +01:00
Alexandre Julliard b663a6dea4 ntdll: Add support for jump instructions in function epilogs. 2012-03-12 19:18:37 +01:00
Alexandre Julliard 34c875bf8b ntdll: Add support for rep;ret instruction in function epilogs. 2012-03-12 18:59:51 +01:00
Alexandre Julliard e562623a15 ntdll: Add support for the special STATUS_UNWIND_CONSOLIDATE exception code. 2012-03-12 16:04:49 +01:00
Alexandre Julliard f996c89274 ntdll: Trace the exception extra information also in RtlUnwindEx. 2012-03-12 16:04:44 +01:00
Alexandre Julliard 2bce0c698e ntdll: Set the TARGET_UNWIND flag when calling the unwind handler for the target frame. 2012-03-12 13:04:37 +01:00
Alexandre Julliard 7c36b51aaf ntdll: Restore the original context for the last frame instead of the result of the unwind handler. 2012-03-12 13:04:36 +01:00
Alexandre Julliard de9330cbcb ntdll: Use the context argument as working variable instead of making a copy in RtlUnwindEx. 2012-03-12 13:04:35 +01:00
André Hentschel 33236819c8 ntdll: Add support for dynamically generated stub entry points on ARM. 2012-03-12 10:47:32 +01:00
Austin English 78f82fa063 ntdll: Use proper CPU speed detection on FreeBSD.
Reported by Hardy Schumacher.
2012-03-01 17:38:41 +01:00
William Panlener f6dae487aa ntdll: Use success return values for stubs. 2012-02-16 11:57:12 +01:00
Charles Davis 454467dc93 ntdll: Zero reserved fields of the request structure in DVD_ReadDescriptor(). 2012-02-14 17:59:28 +01:00
Dan Kegel 6077b623f2 ntdll: Fix endianness of three fields in DVD_LAYER_DESCRIPTOR. 2012-02-14 17:59:28 +01:00
André Hentschel 0fb4cba77f ntdll/tests: Fix some typos. 2012-02-13 18:37:35 +01:00
Austin English 93ed8a062d kernel32: Add support for IOCTL_STORAGE_CHECK_VERIFY2. 2012-02-07 14:03:30 -06:00
Dmitry Timoshkov 3a5ee02735 ntdll: Add an access check for file mappings. 2012-01-24 18:10:31 +01:00
Dmitry Timoshkov 0e85fc66de ntdll: Use PAGE_EXECUTE_READ protection for an image section. 2012-01-24 18:10:31 +01:00
Dmitry Timoshkov 1d01a7ba1e kernel32: Fix access flags to page protection mapping in MapViewOfFileEx. 2012-01-17 11:54:43 +01:00
Alexandre Julliard 6d2063f41b ntdll: Set the thread exit code when a thread is killed inside a wait. 2012-01-16 14:04:39 +01:00
André Hentschel 37ba5eb2a2 ntdll: No need for WINE_ prefixed debug output macro. 2012-01-11 17:47:24 +01:00
Jacek Caban 43a9faa734 ntdll: Make LdrLoadDll hotpatchable. 2012-01-06 19:24:23 +01:00
André Hentschel cc50de1156 ntdll/tests: Add optional return value for some win7 machines. 2012-01-03 19:25:44 +01:00
Francois Gouget 1c59b91d64 ntdll: Avoid hardcoding the Unicode string literal lengths. 2011-12-16 17:40:39 +01:00
Dmitry Timoshkov 332eee4053 ntdll: Replace WRITE by WRITECOPY protection on an image section as Windows does. 2011-12-16 16:38:29 +01:00
Dmitry Timoshkov eed406e028 ntdll: Setting WRITECOPY protection on a memory-mapped file is allowed. 2011-12-16 16:38:29 +01:00
Francois Gouget c7cb3e6cb2 configure: Use errno.h instead of the non-standard sys/errno.h header. 2011-12-15 17:46:38 +01:00
Adam Martinson 759d76ae23 ntdll: Properly set flags in NtCreateNamedPipe(). 2011-12-15 17:46:36 +01:00
Alexandre Julliard 70f4b2d502 ntdll: Make an error message a proper ERR. 2011-12-13 14:00:23 +01:00
André Hentschel 2503f2e1bb winecfg: Bump NT 3.51 to Service Pack 5. 2011-12-05 12:22:28 +01:00
André Hentschel 9f0dde4d48 winecfg: Fill in the Service Pack major version for win2008. 2011-12-05 12:22:23 +01:00
Ken Thomases 35302a643a ntdll: Don't change SIGCHLD disposition; no automatic reaping of child processes. 2011-12-01 10:10:54 +01:00
André Hentschel 3f90cb8c9e ntdll: Move a return out of a #ifdef. 2011-11-30 11:45:14 +01:00
Francois Gouget 51a256e65f Assorted spelling fixes and wording tweaks. 2011-11-28 16:40:50 +01:00
Dmitry Timoshkov 517d0800df ntdll: Revert 33b0f0edff.
The tests clearly show that this commit is wrong.
2011-11-23 14:14:25 +01:00
Dmitry Timoshkov 277259157b ntdll: Change the virtual memory test to accept both READWRITE and WRITECOPY protections. 2011-11-23 14:14:17 +01:00
Frédéric Delanoy ea67d804f3 ntdll/tests: Avoid harcoding array lengths. 2011-11-21 11:05:00 +01:00
Maarten Lankhorst d9889cfd63 ntdll: Use VALGRIND_RESIZEINPLACE_BLOCK when available. 2011-11-15 11:46:02 +01:00
Dmitry Timoshkov a93f86716f kernel32: Add a bunch of tests for protections accepted by VirtualAlloc, make it pass under Wine. 2011-11-08 10:19:51 +01:00
Dmitry Timoshkov 26f4ff1a38 ntdll: Use PAGE_EXECUTE_READWRITE protection when allocating stubs. 2011-11-08 10:19:42 +01:00
André Hentschel 2741edb998 ntdll: Declare debug channel only when used. 2011-11-07 11:30:38 +01:00
Dmitry Timoshkov 33255ee6ec ntdll: Make the VirtualProtect tests pass under Wine. 2011-11-03 13:51:56 +01:00
Dmitry Timoshkov df9a086865 ntdll: Use PAGE_READWRITE access when resolving DLL imports. 2011-11-03 13:35:11 +01:00
Grazvydas Ignotas edd4356dba ntdll: Fix restart size calculation. 2011-11-02 20:01:15 +01:00
André Hentschel 41e188f148 ntdll: Only load ARMv7 PE images when supported by CPU. 2011-11-02 12:27:15 +01:00
André Hentschel 9afb206eaf ntdll: Try to load ARMv7 PE images on ARM. 2011-11-01 16:45:39 +01:00
Michael Stefaniuc 68f90d9697 kernel32/ntdll: Mark a variable as unused. 2011-10-28 19:10:30 +02:00
Marcus Meissner 9ed15fbf14 ntdll: Avoid shadowing "p" variable. 2011-10-20 13:20:44 +02:00
Marcus Meissner cfd5bfa86e ntdll: Avoid shadowing size variable. 2011-10-20 12:59:30 +02:00
Alexandre Julliard 9801818ff4 ntdll/tests: Clear the full atom structure before every test. 2011-10-20 12:50:06 +02:00
Marcus Meissner 811ae03aeb ntdll: Avoid shadowing "de" variable. 2011-10-20 11:07:08 +02:00
Alexandre Julliard 3aed056b72 ntdll: Fix string comparison against non null-terminated string (Valgrind). 2011-10-19 17:48:16 +02:00
Alexandre Julliard 62b7069fa9 ntdll: Unwind the stack before calling exit/abort_thread on i386 the same way we do on x86_64. 2011-10-19 16:38:52 +02:00
Dmitry Timoshkov 0e44bda72a ntdll: Take into account timezone bias changes when detecting daylight saving rules. 2011-10-18 19:16:34 +02:00
Dmitry Timoshkov 16eac43c8e ntdll: Move adding VPROT_READ for Solaris to the same place where it's done for FreeBSD. 2011-10-17 17:45:07 +02:00
Dmitry Timoshkov f7e466455d ntdll: FreeBSD needs page read access when execute access is requested. 2011-10-17 17:45:07 +02:00
Ken Sharp e8d9483da9 ntdll: Update Win2k8 to SP2. 2011-10-17 17:45:05 +02:00
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