Commit Graph

2846 Commits

Author SHA1 Message Date
Austin English 40b3d2ed13 ntdll: Add %gs support for FreeBSD. 2010-05-24 11:32:40 +02:00
Marcus Meissner 34d17c9ea1 ntdll: qsort: comparator must not get the same pointer. 2010-05-24 11:27:25 +02:00
Alexandre Julliard 4dae774893 ntdll: Reimplement bsearch to avoid redundant and possibly out of bounds comparisons. 2010-05-23 22:26:51 +02:00
Austin English c4ea80cf9b ntdll: Add stub for NtRaiseHardError. 2010-05-21 18:58:05 +02:00
Michael Stefaniuc aef5374c8b ntdll: Remove superfluous "not NULL" check for the count arg. 2010-05-19 11:17:55 +02:00
Alexandre Julliard d0093f0055 ntdll: Avoid a compiler warning on NetBSD. 2010-05-17 12:42:32 +02:00
Alexandre Julliard 39d54523a3 ntdll: Preserve registers in call_thread_entry_point on x86_64. 2010-05-16 12:34:07 +02:00
Hans Leidekker d1c8769b64 ntdll: Add some tests for RtlIsTextUnicode. 2010-05-14 18:03:03 +02:00
Marcus Meissner 2ecd1dfaba ntdll: Implement bsearch, lfind to use correct comparator functions. 2010-05-13 11:50:51 +02:00
Marcus Meissner 364242fcf3 ntdll: Rename mergesort to NTDLL_mergesort. 2010-05-12 14:13:15 +02:00
Marcus Meissner 7642e03c63 ntdll: Reimplement qsort() using generic mergesort. 2010-05-11 11:27:03 +02:00
Gerald Pfeifer b8ee145992 ntdll/tests: Remove variable len which is not really used from create_file_test. 2010-05-05 10:52:30 +02:00
Charles Davis 1e0cee6d3c ntdll: Implement IOCTL_SCSI_PASS_THROUGH(_DIRECT) on Mac OS. 2010-05-05 10:46:36 +02:00
Alexandre Julliard ac69fcb14f server: Check that the prefix type can support the client architecture. 2010-05-04 20:27:20 +02:00
Alexandre Julliard bc3ae58f1d ntdll: Add support for saving/restoring CFA frame state. 2010-05-04 13:14:43 +02:00
Alexandre Julliard 2e823590d4 ntdll: Make TAPE_GetStatus inline to avoid a unused function warning. 2010-04-26 07:18:46 -05:00
Michael Stefaniuc ed1711ec54 ntdll/tests: Avoid using the 'long' types. 2010-04-21 11:57:33 +02:00
Maarten Lankhorst 8734d5b9ac ntdll: Clear alignment flag in exception handlers. 2010-04-20 11:15:11 +02:00
André Hentschel b999b69ee9 ntdll: Add SP2 for Vista. 2010-04-20 11:15:00 +02:00
Alexandre Julliard 4fc65126cf ntdll: Report the correct processor architecture. 2010-04-16 16:59:01 +02:00
Paul Vriens 42094d2598 ntdll/tests: Prevent test failures on Windows. 2010-04-12 15:38:51 +02:00
Paul Vriens a155cf5f35 ntdll/tests: We need a bigger buffer for NtQueryInformationFile. 2010-04-12 15:38:45 +02:00
Paul Vriens 3536770083 ntdll/tests: Enumerate one by one. 2010-04-12 15:38:36 +02:00
Paul Vriens 8b8d2038fb ntdll/tests: Make sure we can enumerate the directory. 2010-04-12 15:38:27 +02:00
Alexandre Julliard 281f701880 ntdll: Make cfi annotations optional for x86_64. 2010-04-12 12:38:27 +02:00
Alexandre Julliard 4ce995451e ntdll: Build the virtual_release_address_space function on all platforms. 2010-04-09 16:50:20 +02:00
Alexandre Julliard 9e6903c4b3 ntdll: Restructure x86_64 exception processing to treat all functions with missing exception data as leaf functions. 2010-04-09 13:15:41 +02:00
Alexandre Julliard 5189eef6bb ntdll: Fix affinity mask check for 64-bit. 2010-04-08 23:57:08 +02:00
André Hentschel 66612e2626 ntdll: Use NULL for a pointer. 2010-04-08 12:25:19 +02:00
Alexandre Julliard b141e6e33b winapi: Add a few more types to the ntdll generated tests. 2010-04-07 18:04:00 +02:00
Alexandre Julliard a8e86e35dd winapi: Generate the 64-bit variant of structure size/alignment tests. 2010-04-07 18:03:00 +02:00
Eric Pouech 2bebb68a0b ntdll: On x86_64 systems (as on i386 ones), hw breakpoints must generate a EXCEPTION_SINGLE_STEP exception. 2010-04-07 13:50:39 +02:00
Alexandre Julliard 29937272cb ntdll/tests: Skip a couple of exception tests that crash on Wow64. 2010-04-02 15:22:50 +02:00
Alexandre Julliard 935cc7987d server: Update the registry key and value name length limits to the now documented values. 2010-04-02 11:48:50 +02:00
Alexandre Julliard 71ce9dae67 ntdll/tests: Don't free a string that wasn't allocated. 2010-03-31 16:12:26 +02:00
Alexandre Julliard 9608085bf6 ntdll/tests: Port functions use the 64-bit structure on Wow64. 2010-03-31 16:12:26 +02:00
Alexandre Julliard b7b2a20aa2 ntdll/tests: Fix a number of test failures on Wow64. 2010-03-31 16:12:26 +02:00
Henri Verbeet 7bfe6c4308 ntdll: Return a more reasonable value for "Reserved3".
The value is based on 64-bit Win 7, the main thing we care about is that it's
not 0.
2010-03-29 15:50:52 +02:00
Mikhail Maroukhine 2b8f11b8c0 ntdll: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:15:28 +02:00
Louis Lenders 226a5019e7 Quiet two noisy FIXME's. 2010-03-26 15:34:57 +01:00
André Hentschel 877a4e6136 ntdll: Update error code mapping. 2010-03-22 15:52:35 +01:00
André Hentschel 8a6d1df863 ntdll: Fix error strict mode tests on vista+. 2010-03-22 15:52:35 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Henri Verbeet f0a5045254 ntdll: Improve support for the ProcessDebugPort info class in NtQueryInformationProcess(). 2010-03-15 15:56:42 +01:00
Henri Verbeet 4ce43cd919 ntdll: Fix the ProcessDebugPort information length in NtQueryInformationProcess(). 2010-03-15 15:56:02 +01:00
Gerald Pfeifer dfa200d1e8 ntdll: Avoid compiler warning in the default case in append_entry. 2010-03-15 13:41:39 +01:00
Alexandre Julliard c09df80620 ntdll: Always restore the context after an exception even if setting the debug registers fails. 2010-03-05 12:25:34 +01:00
Alexandre Julliard 5e12f65a1a ntdll/tests: Add tests for HKLM\Software\Classes Wow64 sharing. 2010-03-04 21:49:14 +01:00
Alexandre Julliard 83c272a258 ntdll: Return STATUS_IMAGE_NOT_AT_BASE when an image mapping has to be relocated. 2010-03-03 20:05:40 +01:00
Alexandre Julliard ac08b038f0 server: Initial support for Wow64 registry redirection. 2010-03-02 12:03:17 +01:00
Alexandre Julliard ef4a9cadf5 ntdll/tests: Add tests showing that NtCreateKey is not recursive. 2010-03-01 14:24:05 +01:00
Austin English b4173d7d40 ntdll: Add initial support for OpenBSD to fill_cpu_info. 2010-03-01 11:33:07 +01:00
Alexandre Julliard 52a05108fe ntdll/tests: Add some test cases for Wow64 registry redirection. 2010-02-26 14:18:44 +01:00
Paul Vriens 563785dfc2 ntdll/tests: Fix a crash on some Vista boxes. 2010-02-24 16:05:54 +01:00
Ken Thomases 07d005de84 ntdll: Mac: Fix leak of send right for Mach thread port.
The leaked send right kept the port alive for threads that are gone.  For
processes which create a lot of threads, this can cause performance problems.
2010-02-24 15:12:30 +01:00
Stefan Leichter 324984ef02 ntdll/tests: Test NtCreateFile with an invalid filename. 2010-02-23 12:07:02 +01:00
Eric Pouech 27fb22637a ntdll: Notify valgrind for stack management while in exception. 2010-02-23 12:06:47 +01:00
Erich Hoover fda39b207c ntdll: Allow 'all processors' flag used in Vista and newer. 2010-02-22 11:57:08 +01:00
Eric Pouech 10642e76db ntdll: Fix wrong marking for valgrind on 64bit systems. 2010-02-22 11:50:08 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Alexandre Julliard 8543c32442 ntdll: Properly handle empty but present ACLs in self-relative descriptors. 2010-02-18 13:01:58 +01:00
Alexandre Julliard 0e98500e43 ntdll: Fix the return value of NtOpenKey for some invalid parameters. 2010-02-16 14:32:26 +01:00
Alexandre Julliard 2530304f1c ntdll: Fix the return status of NtQueryValueKey for a too small buffer. 2010-02-16 14:28:41 +01:00
Alexandre Julliard b139b935c4 server: Implement registry symlinks. 2010-02-15 21:07:01 +01:00
Alexandre Julliard 2ec945d412 ntdll/tests: Add more tests for registry symlinks. 2010-02-15 21:03:14 +01:00
Alexandre Julliard 531daa04c2 ntdll/tests: Use correct access rights in the NtOpenKey test. 2010-02-15 12:20:18 +01:00
Dan Kegel 1aa3308fa5 ntdll: Fix leak in test_symlinks. 2010-02-15 12:19:15 +01:00
Alexandre Julliard ed0f34c6e3 ntdll/tests: Add tests for registry symlinks. 2010-02-12 16:39:26 +01:00
Alexandre Julliard 34b011c357 ntdll/tests: Test NtOpenKey with an existing key. 2010-02-12 16:34:55 +01:00
Alexandre Julliard 5f699c93c8 ntdll/tests: Fix a few function prototypes in the registry test. 2010-02-12 16:34:42 +01:00
Michael Stefaniuc 5cc3111808 ntdll: Avoid using HIWORD on types that are 64bit on Win64. 2010-02-10 14:32:05 +01:00
Alexandre Julliard 98ca10c89d ntdll: Export RtlInterlockedCompareExchange64. 2010-02-05 12:23:48 +01:00
Peter Rosin 091f0fedfe ntdll: Document RtlSetThreadErrorMode and RtlGetThreadErrorMode. 2010-02-05 10:07:35 +01:00
Peter Rosin bdebad094c ntdll: Add RtlSetThreadErrorMode and RtlGetThreadErrorMode. 2010-02-03 11:37:59 +01:00
Peter Rosin 2cf159f612 ntdll: Add tests for RtlSetThreadErrorMode and RtlGetThreadErrorMode. 2010-02-03 11:36:59 +01:00
Dan Kegel 20430f6ede ntdll: Fix large block realloc annotation. 2010-02-02 11:47:20 +01:00
Alexandre Julliard 156d66ec24 ntdll: Avoid reporting a freed block twice to Valgrind. 2010-02-01 12:35:32 +01:00
Alexandre Julliard 7ffb1c102e ntdll: Fix the various heap debug checks for 64-bit. 2010-01-29 13:28:57 +01:00
Alexandre Julliard 0692bfda5f ntdll: Don't require heap sizes to be 64K aligned. 2010-01-28 19:47:01 +01:00
Alexandre Julliard b7b8929f0b ntdll: Support delayed freeing of heap blocks to catch use-after-free bugs. 2010-01-28 19:43:38 +01:00
Alexandre Julliard a75ae7936e ntdll: Disable debug flags when running on Valgrind.
The extra debug checks cause more harm than good under Valgrind.
2010-01-28 19:42:48 +01:00
Alexandre Julliard 90f31aa381 ntdll: Always enable tail checking when running under Valgrind. 2010-01-27 18:46:08 +01:00
Alexandre Julliard 31aa3900e4 ntdll: Add 8 more bytes to the block tail when tail checking is enabled. 2010-01-27 18:46:07 +01:00
Alexandre Julliard d387a34d96 ntdll: Simplify the checking of heap pointers when debugging is not enabled. 2010-01-27 18:46:07 +01:00
Alexandre Julliard bf975d1f85 ntdll: Verify the tail contents when validating a large block. 2010-01-26 16:08:22 +01:00
Alexandre Julliard aa409c75f9 ntdll: Fill the tail of existing large blocks when the debug flags change. 2010-01-26 16:06:59 +01:00
Alexandre Julliard dedabe9d54 ntdll: Fill the tail of large blocks too for tail checking. 2010-01-26 16:04:45 +01:00
Alexandre Julliard cb2a5f7ef9 ntdll: Move alloc notification closer to the allocation for large blocks. 2010-01-26 16:03:07 +01:00
Alexandre Julliard 6864777a10 ntdll: Verify free block contents when validating the heap. 2010-01-26 14:35:08 +01:00
Alexandre Julliard c0abf594f8 ntdll: Verify the tail contents when validating an in-use block with tail checking enabled. 2010-01-26 14:34:31 +01:00
Alexandre Julliard a192695099 ntdll: Fill existing tail and free blocks when the debug flags are changed after heap creation. 2010-01-26 14:31:22 +01:00
Alexandre Julliard c15660054f ntdll: Use the same value as Windows for filling free heap blocks. 2010-01-26 14:30:25 +01:00
Alexandre Julliard 5cd254d729 ntdll: Fill the tail of heap blocks when HEAP_TAIL_CHECKING_ENABLED is set. 2010-01-26 14:29:51 +01:00
Alexandre Julliard aa9c7b070e ntdll: Use the heap flags instead of debug channels to test for enabled debug features. 2010-01-25 15:02:31 +01:00
Freddie Tilley 323b36f521 ntdll: Detect more cpu features in get_cpuinfo. 2010-01-25 12:45:22 +01:00
Alexandre Julliard 9055e9e3dd ntdll: Set the heap debug flags based on the GlobalFlag value. 2010-01-22 12:33:03 +01:00
Alexandre Julliard e7810c8bc6 ntdll: Make it possible to use RtlGetNtGlobalFlags before the TEB is initialized. 2010-01-22 12:32:40 +01:00
Alexandre Julliard 39a1227cdb ntdll: Load the various PEB global options at startup. 2010-01-20 17:30:00 +01:00
Alexandre Julliard 1c119dad6d ntdll: Implement LdrQueryImageFileExecutionOptions and use it to retrieve the per-process global flag. 2010-01-20 17:11:03 +01:00
Freddie Tilley 69d7233e3e ntdll: Set cpu frequency for FreeBSD 7.2 and higher. 2010-01-20 15:34:41 +01:00
Alexandre Julliard 3b67ad9bd4 ntdll: Fix the NtCreateEvent prototype.
It takes an event type, not a manual reset flag.
2010-01-18 20:34:54 +01:00
Andrew Nguyen 1cdf1cc07e ntdll/tests: Report appropriate skips for information tests. 2010-01-18 14:33:18 +01:00
Andrew Nguyen ab23f87bcc ntdll/tests: Re-enable a commented virtual memory test. 2010-01-18 14:32:54 +01:00
Andrew Nguyen bffdda5ab2 ntdll/tests: Report skip when time conversion functions are not available. 2010-01-18 14:32:49 +01:00
Andrew Nguyen 83dbc3d46a ntdll/tests: Remove useless ifdef statements. 2010-01-18 14:32:45 +01:00
Andrew Nguyen 063da0a183 ntdll/tests: Remove obsolete commented code. 2010-01-18 14:30:59 +01:00
Alexandre Julliard 10e4a55b6c winebuild: Output the asm relay functions as needed and get rid of --relay32 mode. 2010-01-16 15:50:27 +01:00
Alexandre Julliard 102dd9e92f winebuild: Rename __wine_call_from_32_regs for consistency with 64-bit. 2010-01-16 15:41:48 +01:00
Andrew Nguyen d7557a1926 ntdll/tests: Add a few additional tests for wcsrchr. 2010-01-14 10:05:06 -06:00
Andrew Nguyen dca1bd8633 ntdll/tests: Add a few additional tests for wcschr. 2010-01-14 10:04:58 -06:00
Andrew Nguyen d8ba75473a ntdll/tests: Allow native crashing code to be compiled. 2010-01-14 10:04:37 -06:00
Andrew Nguyen 3ed716f833 ntdll/tests: Make function pointer checks consistent and report skips. 2010-01-14 10:04:32 -06:00
Paul Vriens acfada959b ntdll/tests: Fix a test failure on NT4. 2010-01-11 11:28:41 -06:00
Nikolay Sivov f9b41a7983 ntdll: Release buffer when it won't be referenced. 2010-01-08 17:04:20 +01:00
Alexandre Julliard 25bee84030 ntdll: Don't require read access to the root directory for normal opens, similarly to the open by id case. 2010-01-08 15:54:20 +01:00
Alexandre Julliard 574eace36e ntdll: Return a correct name also for file objects in NtQueryObject. 2010-01-08 13:16:57 +01:00
Alexandre Julliard 658dae988d server: Add support for returning the object name in NtQueryObject. 2010-01-08 13:01:50 +01:00
Paul Vriens 2e03013fc0 ntdll: Fix length parameter for NtQueryValueKey (Coccinelle). 2010-01-08 10:14:12 +01:00
Alexandre Julliard 82f393dda1 ntdll: Move the LDT locking functions to the i386-specific code. 2009-12-30 18:05:02 +01:00
Rob Shearman 3d0f56fb37 ntdll: Fix typo in RTL_ReportRegistryValue which caused a counted string to be passed into QueryFunction which expects a nul-terminated string. 2009-12-30 16:16:07 +01:00
Gerald Pfeifer e8158e48cb ntdll: Avoid one warning around assert(0). 2009-12-29 13:17:30 +01:00
Gerald Pfeifer e8d387fd45 ntdll: Use #ifdef instead of #if to check for _DARWIN_FEATURE_64_BIT_INODE. 2009-12-28 12:27:15 +01:00
Paul Vriens fa2ec0f06c ntdll/tests: Fix a memory leak (Valgrind). 2009-12-17 12:42:22 +01:00
Paul Vriens 8199784eaf ntdll/tests: Fix a test failure on NT4/W2K. 2009-12-16 16:05:46 +01:00
Marcus Meissner afd4aed5fc ntdll: Check for NULL attr in NtOpenKey (Coverity). 2009-12-15 16:09:11 +01:00
Rob Shearman 052873350d ntdll: Ignore the hole in the FILE_PIPE_WAIT_FOR_BUFFER structure passed into NtFsControlFile before writing the structure to the server. 2009-12-14 16:14:39 +01:00
Alexandre Julliard 6509044087 ntdll: Search the whole filesystem under the starting directory when opening files by id. 2009-12-09 23:34:45 +01:00
Hans Leidekker 84bfbf2aa8 ntdll/tests: Free Unicode string before reuse. 2009-12-09 13:50:42 +01:00
Alexandre Julliard 70c20027a9 ntdll/tests: Avoid size_t in traces. 2009-12-09 12:19:48 +01:00
Huw Davies af0bb4a141 ntdll: Only free the string if the test succeeded. 2009-12-08 12:37:24 +01:00
Hans Leidekker fe8f5c2232 ntdll/tests: Fix a memory leak.
Found by Valgrind.
2009-12-08 12:37:17 +01:00
Gerald Pfeifer 43d0720335 ntdll: Guard debugging code by #ifdef instead of plain #if. 2009-12-08 12:32:58 +01:00
Alexandre Julliard 538c8bc5e8 ntdll/tests: Add tests for open directories with NtCreateFile and strange options. 2009-12-08 12:19:05 +01:00
Alexandre Julliard 019e404938 ntdll: Get rid of a line break in a trace. 2009-12-07 21:25:20 +01:00
Hans Leidekker 72e7e399d5 ntdll/tests: Fix a memory leak.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Huw Davies 1cc0dd5c57 ntdll: Fix a few memory leaks in tests.
Found by Valgrind.
2009-12-07 14:18:27 +01:00
Wolfram Sang a7326271e0 ntdll: Silence RtlNtStatusToDosErrorNoTeb() a bit. 2009-12-04 15:48:09 +01:00
Alexandre Julliard 3dd6c9a6fe ntdll/tests: Fix a few test failures on Windows in the open by id test. 2009-12-04 14:34:56 +01:00
Alexandre Julliard 866db819b8 ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable. 2009-12-04 14:34:45 +01:00
Alexandre Julliard 8115c6243b ntdll/tests: Add some tests for opening files by file id. 2009-12-03 10:10:06 +01:00
Alexandre Julliard 9c789f4025 ntdll: Add support for the FILE_OPEN_BY_FILE_ID flag in NtCreateFile. 2009-12-03 10:10:06 +01:00
Alexandre Julliard 6677565f34 ntdll: Don't report a file id for directory entries that are on a different device. 2009-12-03 10:10:06 +01:00
Alexandre Julliard d189ed6fdd ntdll: Remove an unnecessary NULL pointer check. 2009-12-03 10:10:03 +01:00
Alexandre Julliard 7dc1c2af52 ntdll: Fix test failure on recent Windows versions. 2009-12-03 10:08:56 +01:00
Alexandre Julliard 84b309f309 ntdll/tests: Add tests for opening files with a root directory handle. 2009-12-01 17:38:44 +01:00
Alexandre Julliard d97149b708 ntdll: Add support for converting file names to Unix when a root directory is specified. 2009-12-01 17:24:26 +01:00
Alexandre Julliard a420a207e3 ntdll: Move the directory lookup part of wine_nt_to_unix_file_name to a separate helper. 2009-12-01 16:30:52 +01:00
Maarten Lankhorst 58c7aa4691 ntdll: Silence a common warning. 2009-12-01 15:10:37 +01:00
Henri Verbeet 64e6e956e5 ntdll/tests: Add some tests for FileAllInformation name information.
This is essentially a copy of test_file_name_information().
2009-12-01 13:15:36 +01:00
Henri Verbeet 0eac2ce19b ntdll: Also return name information for FileAllInformation. 2009-12-01 13:15:20 +01:00
Henri Verbeet c99abc651b ntdll: Fix the FileAllInformation info size. 2009-12-01 13:14:45 +01:00
Dan Kegel 0f556bf803 ntdll: Implement RtlGetNtGlobalFlags(), add related defines to winternl.h. 2009-11-30 16:13:08 +01:00
Nikolay Sivov dbbd2161ab ntdll: Call DLL_PROCESS_DETACH if attaching failed. 2009-11-30 12:53:30 +01:00
Rob Shearman f2f50f18dc ntdll: Don't read beyond the end of the array on the last ace iteration in RtlValidAcl. 2009-11-29 16:40:06 +01:00
Alexandre Julliard 16ddc62405 ntdll: Merge the thread data and thread regs structure, and make sure i386 regs are not available on other platforms. 2009-11-19 12:27:09 +01:00
Alexandre Julliard aced1b82ba ntdll: Move initialization of the debug registers to signal_i386.c. 2009-11-19 12:26:21 +01:00
Alexandre Julliard d4f1fffacc ntdll: Moved the TEB allocation routines to the platform-specific files. 2009-11-19 12:25:52 +01:00
Henri Verbeet 893b338268 ntdll/tests: Add a FileNameInformation test with filesystem redirection. 2009-11-19 12:21:57 +01:00
Henri Verbeet 832aacd866 ntdll/tests: Disable filesystem redirection for test_file_name_information().
Otherwise we get the syswow64 directory instead on 64-bit Windows.
2009-11-19 12:21:49 +01:00
Alexandre Julliard 74ae7d358f ntdll: Add support for the different info classes in NtQueryDirectoryFile. 2009-11-18 22:10:05 +01:00
Alexandre Julliard 551ddfe402 ntdll: Make the various directory info size functions depend on the info class. 2009-11-18 22:09:48 +01:00
Alexandre Julliard ee9b19ab5f ntdll: Pass the NtQueryDirectoryFile info class down into the various helper functions. 2009-11-18 22:03:51 +01:00
Alexandre Julliard cfafcc5a6e ntdll: Define a generic file information structure to allow supporting multiple info classes in NtQueryDirectoryFile. 2009-11-18 22:02:53 +01:00
Alexandre Julliard c843665c12 ntdll: Pass the full I/O status block to append_entry and have it set the status code on overflow. 2009-11-18 21:59:02 +01:00
Alexandre Julliard da1df74147 ntdll: Use the common fill_stat_info function from the directory code too. 2009-11-18 21:58:23 +01:00
Alexandre Julliard c3b602aa23 ntdll: Add a common function to compute file information from the stat data. 2009-11-18 21:57:31 +01:00
Alexandre Julliard 44f520a5b6 include: Add some more definitions for FILE_INFORMATION_CLASS. 2009-11-18 15:15:32 +01:00
Rob Shearman bd56916f90 server: Extend get_token_user server call to also retrieve SIDs for the token's owner or primary group. 2009-11-17 15:14:54 +01:00
Detlef Riekenberg 447e224380 ntdll/tests: GetVolumePathnameW is not present before w2k. 2009-11-13 11:52:25 +01:00
Henri Verbeet 85d93d689e ntdll: Fix the FileNameInformation info size. 2009-11-12 15:44:15 +01:00
Henri Verbeet 4422e67126 ntdll/tests: Add some tests for the NtQueryInformationFile() FileNameInformation class. 2009-11-12 15:44:10 +01:00
Henri Verbeet cd6d01ac9d ntdll: Implement the FileNameInformation class for NtQueryInformationFile(). 2009-11-12 15:40:57 +01:00
Alexandre Julliard d90f691e58 ntdll: Implemented RtlCaptureStackBackTrace for i386. 2009-11-11 17:38:18 +01:00
Alexandre Julliard d45fca8f7c ntdll: Moved RtlCaptureStackBackTrace stub to the cpu-specific files. 2009-11-11 17:19:23 +01:00
Alexandre Julliard 1a3777e2dc ntdll: Reject VirtualAlloc blocks in NtUnmapViewOfSection. 2009-11-04 19:53:00 +01:00
Huw Davies 95c525e21b ntdll/tests: Fix spelling of succeeded. 2009-11-04 16:45:18 +01:00
Austin English f2aa80f71e ntdll: Add support for Windows 7 version. 2009-10-30 15:04:24 +01:00
Alexandre Julliard aadf703fc0 ntdll: The meaning of the flag is inverted between RtlWow64EnableFsRedirection and RtlWow64EnableFsRedirectionEx. 2009-10-28 10:55:19 +01:00
Yann Droneaud c8553641ac ntdll: Use __asm__ keyword instead of asm in signal_sparc.c. 2009-10-27 10:50:06 +01:00
André Hentschel 3259c81e10 ntdll: Implement KeyNameInformation. 2009-10-26 11:40:29 +01:00
André Hentschel 5a9564d938 ntdll: Stub for RtlNumberGenericTableElements. 2009-10-26 11:37:13 +01:00
Alexander Nicolaysen Sørnes ee0b76632a ntdll: Add RtlGetProductInfo stub. 2009-10-26 11:37:00 +01:00
Alexandre Julliard b102fcadef ntdll: Add Windows directory redirections for Wow64. 2009-10-22 20:06:06 +02:00
Alexandre Julliard 639e07bead ntdll: Abstract the support for comparing file identities. 2009-10-22 19:59:04 +02:00
Alexandre Julliard 4e77222820 ntdll: Move the window and system dir variables to directory.c 2009-10-22 19:55:06 +02:00
Alexandre Julliard 71f4b3bb84 ntdll: Always set the I/O status information on ioctl completion (Valgrind). 2009-10-22 14:48:15 +02:00
Charles Davis e3823e14ce ntdll: Finish implementation of DVD_ReadKey() with key type DvdGetRpcKey on Linux. 2009-10-20 14:53:02 +02:00
Charles Davis ca786887a2 ntdll: Implement DVD_GetRegion() on both Linux and Mac OS. 2009-10-20 14:52:53 +02:00
Charles Davis 816a78b0cf ntdll: Implement CDROM_ScsiGetCaps() on Mac OS. 2009-10-20 14:52:39 +02:00
Charles Davis d22abc20a3 ntdll: Partially implement CDROM_GetControl() on Mac OS.
Only the speed is returned.
2009-10-20 14:49:59 +02:00
Charles Davis 192a838cd0 ntdll: Implement DVD_ReadStructure() on Mac OS. 2009-10-19 15:01:30 +02:00
Charles Davis 71f430e740 ntdll: Implement DVD_ReadKey() on Mac OS. 2009-10-19 15:00:41 +02:00
Charles Davis 7b0ba554ef ntdll: Implement DVD_SendKey() on Mac OS. 2009-10-19 14:59:46 +02:00
Charles Davis df2bf3e3e5 ntdll: Implement DVD_EndSession() on Mac OS. 2009-10-19 14:59:42 +02:00
Charles Davis 05acaeb0f1 ntdll: Implement DVD_StartSession() on Mac OS. 2009-10-19 14:59:33 +02:00
Francois Gouget 9b89b85e5f ntdll/tests: Fix compilation on systems that don't support nameless unions. 2009-10-19 14:45:15 +02:00
Alexandre Julliard 905609b73b ntdll: Assume leaf function when we can't find exception information for an ELF module. 2009-10-16 13:39:15 +02:00
Charles Davis a54ba8712f ntdll: Shorten an ERR message and change it to a FIXME. 2009-10-15 12:06:23 +02:00
Charles Davis 895be2b0f8 ntdll: Use the parent device for everything when processing a storage IOCTL request on Mac OS. 2009-10-15 12:06:22 +02:00
Charles Davis 6368dbbd59 ntdll: Implement CDROM_RawRead() on Mac OS. 2009-10-14 11:46:43 +02:00
Alexandre Julliard 44ed5c0423 ntdll: Use the exception code as exit status when no debugger is present. 2009-10-13 14:15:27 +02:00
Charles Davis c7992a8d26 ntdll: Implement CDROM_ReadQChannel() on Mac OS. 2009-10-13 12:41:30 +02:00
Dmitry Timoshkov 27ebfdb879 kernel32: Implement HeapQueryInformation, add some basic tests for it. 2009-10-12 12:48:03 +02:00
Andrey Turkin 7aeaa0338c ntdll: Run TLS callbacks in zero-sized TLS directories. 2009-10-12 12:14:21 +02:00
Austin English 93aa9ebcea ntdll: Add a stub for NtQuerySystemEnvironmentValue. 2009-10-08 14:00:19 +02:00
Ge van Geldorp bc6f37ac00 ntdll/tests: Fix exception test failure on Win7. 2009-10-07 15:20:10 +02:00
Francois Gouget 7c5df85f51 ntdll/tests: Add a trailing '\n' to an ok() call. 2009-10-07 15:17:04 +02:00
Andrey Turkin be910d973a ntdll: Add stub for NtSetInformationThread(ThreadHideFromDebugger). 2009-10-06 16:13:17 +02:00
Andrey Turkin f2432a8bc2 ntdll: Handle invalid pointers in NtQueryInformationProcess(ProcessDebugObjectHandle). 2009-10-06 16:13:16 +02:00
Ge van Geldorp 9925991bf3 ntdll/tests: Fix atom tests on Win7. 2009-10-06 11:59:45 +02:00
Juan Lang bfb4578356 server: A thread's affinity is restricted to the process affinity. 2009-10-01 11:33:33 +02:00
Juan Lang 24036fe13a server: Setting a process's affinity sets all of its threads' affinities too. 2009-09-30 14:34:32 +02:00
Dan Kegel ceb8577bab ntdll: Refactor test_NtQueryDirectoryFile to be table driven, check DIRECTORY attribute. 2009-09-30 14:34:29 +02:00
Andrey Turkin 2e86453f0a ntdll: Accept ProcessDebugObjectHandle in QueryInformationProcess. 2009-09-30 14:31:57 +02:00
Alexandre Julliard 2e8de49ee1 ntdll/tests: Retrieve the number of processors through GetSystemInfo. 2009-09-30 14:31:57 +02:00
Juan Lang 2e92c726aa ntdll: Don't allow setting a zero thread affinity. 2009-09-29 13:29:43 +02:00
Juan Lang c7b1423521 ntdll: Don't allow setting a zero process affinity. 2009-09-29 13:29:36 +02:00
Juan Lang d9ce24e6cb ntdll/tests: Add tests for process and thread affinity. 2009-09-29 13:29:28 +02:00
Dan Kegel 46187dd609 ntdll: Fix NtQueryInformationFile test failures on Vista Home Basic. 2009-09-25 13:51:03 +02:00
Dan Kegel fa12f03976 ntdll: Add initial test for NtQueryDirectoryFile(). 2009-09-25 13:50:54 +02:00
Alexandre Julliard 135612d22f ntdll: Add support for ordinal forwards. 2009-09-25 13:12:02 +02:00
Alexandre Julliard c39e28edfb ntdll: Support both 32-bit and 64-bit modules in RtlImageDirectoryEntryToData. 2009-09-25 12:46:39 +02:00
Alexandre Julliard 66b9371bb6 ntdll: Silence a noisy FIXME. 2009-09-24 15:32:23 +02:00
Alexandre Julliard a022062cab ntdll: Move creation of the CPU-specific registry keys to wineboot. 2009-09-24 14:23:02 +02:00
Alexandre Julliard 5b0fcb065e ntdll: Avoid crashing on an empty resource directory. 2009-09-24 13:14:47 +02:00
Alexandre Julliard 9585bf6700 ntdll: Remap EXCEPTION_EXECUTE_FAULT only after the internal handlers have been run. 2009-09-23 14:20:17 +02:00
Huw Davies 90f95172b8 ntdll: Fix build on MacOSX. 2009-09-23 12:33:19 +02:00
Alexandre Julliard 1cf1a3f211 ntdll: Only create the CPU registry keys on first run. 2009-09-22 17:05:02 +02:00
Eric Pouech 004fdc7a97 ntdll: Moved CPU related registry key creation from kernel32 to ntdll. 2009-09-22 16:54:14 +02:00
Eric Pouech 3794c6b936 ntdll: Implement basic support for processor power information. 2009-09-22 16:51:29 +02:00
Eric Pouech 57f714f3eb ntdll: Reuse kernel32's cpu info to implement NtQuerySystemInformation(SystemProcessInformation). 2009-09-22 16:51:16 +02:00
Eric Pouech f6ceedf6dd ntdll: In SYSTEM_BASIC_INFORMATION, the active processors field refers to the affinity mask. 2009-09-22 16:47:25 +02:00
Michael Karcher be90ae2fc3 ntdll: Fix DEP status initialization. 2009-09-15 16:41:23 -05:00
Paul Vriens 4e6db1e186 ntdll/tests: Fix some test failures on several platforms. 2009-09-11 17:00:59 +02:00
Dmitry Timoshkov 049bbe3f12 ntdll: RtlpNtQueryValueKey takes 5 parameters. 2009-09-11 12:16:37 +02:00
Alexandre Julliard 72241b5d47 ntdll: Make sure that serial ioctl calls fail on non-serial handles. 2009-09-10 11:06:01 +02:00
Alexandre Julliard c1cb976b66 ntdll: Fix a file descriptor leak. 2009-09-10 10:53:38 +02:00
Dan Kegel 398a8ea1fe ntdll: Add tests for NtQueryInformationFile. 2009-09-10 10:49:22 +02:00
Mike Kaplinskiy 3f232785d3 ntdll: Remember to set the iosb status if using a worker thread for serial wait. 2009-09-08 12:12:28 +02:00
Alexandre Julliard 7a56aca2eb ntdll: Implemented the SList functions for Win64. 2009-09-01 12:41:57 +02:00
Austin English e88e2239aa ntdll/tests: Fix a compiler warning on PowerPC. 2009-08-31 12:19:04 +02:00
Benjamin Kramer 2f3ac0640b ntdll: Fix build on MacOSX. 2009-08-29 16:48:52 +02:00
Alexandre Julliard 690cf4a6c8 ntdll: Use a more drastic (and simpler) method for unwinding the stack on thread exit. 2009-08-29 16:48:30 +02:00
Alexandre Julliard c9d85dd576 ntdll: Route the process startup through the platform-specific thread startup code. 2009-08-29 11:24:44 +02:00
Alexandre Julliard 8824deb6c6 ntdll: Add support for Dwarf expressions in call frame information. 2009-08-28 18:25:20 +02:00
Alexandre Julliard af22daf72b ntdll: Add support for unwinding the signal stack on x86_64. 2009-08-28 18:24:06 +02:00
Alexandre Julliard ecdcf060a5 ntdll: Unwind the stack before calling exit/abort_thread.
This prevents pthread_exit() from trying to do it and failing.
2009-08-28 12:15:07 +02:00
Alexandre Julliard 8101a2fa1e ntdll: Move the abort_thread() function to the CPU-specific files to allow redefining it. 2009-08-28 11:54:50 +02:00
Alexandre Julliard fdf191a9e0 ntdll: Define correct address space limits for x86_64. 2009-08-27 19:47:58 +02:00
Alexandre Julliard 5e30947d0b ntdll: Return the expected length in NtQueryInformationProcess. 2009-08-27 19:47:58 +02:00