Commit Graph

2609 Commits

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