Commit Graph

3027 Commits

Author SHA1 Message Date
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