Commit Graph

2922 Commits

Author SHA1 Message Date
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
Eric Pouech 45ade6c2f5 ntdll: Allocate a console (without renderer) when starting a program from unix console. 2010-09-01 14:01:03 +02:00
Alexandre Julliard d03705eafb ntdll: Use int64 in the spec file for 64-bit integers. 2010-08-31 14:23:48 +02:00
Alexandre Julliard 7c9b525128 winebuild: Use the correct registers for relay debugging of floating point arguments on x86_64. 2010-08-30 12:41:28 +02:00
Alexandre Julliard dfdea6c4a5 msvcrt: Add -ret64 flag on some functions that return a 64-bit value. 2010-08-29 12:09:36 +02:00
Alexandre Julliard 5393f0a947 ntdll: Fix the protection state of writable sections. 2010-08-26 18:06:10 +02:00
Alexandre Julliard 8e2e95ed7e ntdll/tests: Add a test for the protection state of the read-write data section. 2010-08-26 18:05:55 +02:00
Alexandre Julliard 22d5180b9f winebuild: Support relay debugging for thiscall functions. 2010-08-24 19:59:44 +02:00
Marcus Meissner 2ca5513a62 ntdll: Set correct protection flags on sections in builtin DLLs. 2010-08-24 17:22:32 +02:00
Austin English b3b55ea4fa ntdll: Sparc support for map_image(). 2010-08-24 12:22:18 +02:00
Austin English 51e4f9a5a6 ntdll: Make sure ill_handler() and bus_handler() are used on Sparc. 2010-08-24 12:21:44 +02:00
Austin English 7b37a6d47e ntdll: Add Sparc processor support. 2010-08-24 12:21:38 +02:00
Alexandre Julliard a2ca2ebd50 server: Change the removable fd flag to a cacheable flag to make it possible for fd users to set it dynamically. 2010-08-23 17:09:45 +02:00
Detlef Riekenberg 2b76f8661d ntdll: Add a stub for TokenElevation in NtQueryInformationToken. 2010-08-23 13:46:24 +02:00
Detlef Riekenberg 0fa0d17d67 ntdll/tests: Add tests for RtlIpv4AddressToString / RtlIpv4AddressToStringEx. 2010-08-20 13:21:35 +02:00
Jacek Caban 9713d62e89 ntdll: IMAGE_REL_BASED_HIGH, IMAGE_REL_BASED_LOW and IMAGE_REL_BASED_HIGHLOW should be supported on win64. 2010-08-20 13:21:27 +02:00
Detlef Riekenberg 4aef9446ba ntdll: Implement RtlIpv4AddressToString / RtlIpv4AddressToStringEx. 2010-08-19 11:52:47 +02:00
Austin English f7c1978548 ntdll: Check for __FreeBSD_kernel__, remove redundant ifdef's, make FIXME's consistent. 2010-08-19 11:30:58 +02:00
André Hentschel 40bc5f646f ntdll: Add more error codes. 2010-08-17 11:55:39 +02:00
Juan Lang a4331aaf5d ntdll: Implement NtSetInformationProcess for ProcessDefaultHardErrorMode. 2010-08-16 16:39:53 +02:00
Juan Lang 9cb3664bb7 ntdll: Implement NtQueryInformationProcess for ProcessDefaultHardErrorMode. 2010-08-16 16:39:49 +02:00
André Hentschel 38ca35fe57 ntdll: Add SXS error codes. 2010-08-04 12:13:50 +02:00
Andrey Turkin fc4d5393a5 ntdll/tests: Do not check signedness for char types. 2010-08-02 12:55:21 +02:00
Reece Dunn fd66d61861 ntdll/tests: check io.Status in the file tests. 2010-07-28 16:28:21 +02:00
Andrew Nguyen d7956bab54 ntdll: Fix the status code for ProcessDebugObjectHandle class in NtQueryInformationProcess when the debugger is absent. 2010-07-28 16:28:19 +02:00
Michael Stefaniuc 76c06a6d94 ntdll: Use IsEqualGUID instead of memcmp to compare GUIDs. 2010-07-28 12:22:26 +02:00
Max TenEyck Woodbury a17c7f0bd0 ntdll: Setting FileAllInformation is not allowed. 2010-07-26 18:38:30 +02:00
Alexandre Julliard f195c1eb5a winegcc: Don't import winecrt0 by default when building with -nodefaultlibs. 2010-07-26 12:46:00 +02:00
Damjan Jovanovic 2f877b0a79 ntdll: Convert even Unix paths outside Wine's drive mappings to DOS paths. 2010-07-23 13:05:32 +02:00
Maarten Lankhorst e8c5e2b890 ntdll: Use syscall instead of int $0x80. 2010-07-22 10:24:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00