Commit Graph

2206 Commits

Author SHA1 Message Date
Alexandre Julliard 92cf3d1900 ntdll: Don't set noexec protection on builtin dlls, some broken apps clear the execute permission. 2008-11-17 15:56:54 +01:00
Alexandre Julliard a0c4bfef9d ntdll: Add private function to manage system virtual views instead of abusing NtAllocateVirtualMemory. 2008-11-14 17:40:54 +01:00
Alexandre Julliard 6c7ff61639 ntdll: Added stubs for NtGetWriteWatch and NtResetWriteWatch. 2008-11-14 11:02:15 +01:00
Ken Thomases 974b8d802c ntdll: Don't poll() on a normal file; it should never block. 2008-11-13 11:48:49 +01:00
Alexandre Julliard af601ff2b5 ntdll/tests: Fixed more object manager tests on Vista. 2008-11-11 21:22:35 +01:00
Alexandre Julliard f96670cb5f ntdll: Add support for root directory in NtCreateFile for Win32 file objects. 2008-11-11 11:40:08 +01:00
Alexandre Julliard 66d893b0f9 ntdll/tests: Fix a couple of test failures on Vista. 2008-11-11 11:39:31 +01:00
Alexandre Julliard 2e25b859ea ntdll: Don't call the dll entry point for native modules. 2008-11-10 13:20:45 +01:00
Alexandre Julliard 85df734453 ntdll/tests: Fix the atom test on NT4. 2008-11-10 11:57:26 +01:00
Alexandre Julliard 66a39678e9 ntdll: Store correct values in the various limits on all platforms instead of using 0. 2008-11-07 11:04:07 +01:00
Alexandre Julliard 1ca7b881d7 ntdll: Do not report non-reserved memory areas as free since we don't know what's in them. 2008-11-06 15:00:58 +01:00
Alexandre Julliard eb96fbf346 ntdll: Keep track of the current working set limit independently of system views that may be allocated beyond it. 2008-11-06 11:42:58 +01:00
Alexandre Julliard 5e2ed6bfe9 ntdll,server: Fixed access checks for OpenFileMapping and MapViewOfFile. 2008-11-05 20:32:32 +01:00
Alexandre Julliard 0f9283437c ntdll/tests: Fix a couple of tests on NT4. 2008-11-05 19:58:26 +01:00
Alexandre Julliard f21096ad01 ntdll: Don't force anonymous file mappings to always be fully committed. 2008-11-05 12:31:49 +01:00
Alexandre Julliard cdce50f5be ntdll: Store the per-page committed status in the server for anonymous file mappings. 2008-11-05 12:31:37 +01:00
Alexandre Julliard 7e94787948 ntdll: Add a noexec flag for memory views where we don't want to force exec permission. 2008-11-04 13:16:01 +01:00
Alexandre Julliard 0b0b6c351a ntdll: Store the per-view flags in the high word of the page protection bits. 2008-11-04 13:05:37 +01:00
Paul Bryan Roberts 01eb926987 ntdll: Avoid potential infinite loop. 2008-11-04 11:40:00 +01:00
Alexandre Julliard 3d6313c9ce ntdll: Return more correct information for SystemBasicInformation and GetSystemInfo. 2008-11-03 13:34:13 +01:00
Alexandre Julliard 4ee2d9d8eb ntdll: Initialize the large address space before attaching dlls. 2008-11-03 13:34:12 +01:00
Aric Stewart 1865c47ff8 ntdll: Fix parsing of proc file. Also correct memory deallocation on the Mac. 2008-11-03 13:34:12 +01:00
Alexandre Julliard 222e406deb ntdll: Create a separate heap for allocating memory views instead of using malloc. 2008-10-31 13:00:59 +01:00
Alexandre Julliard bb98004249 ntdll: Merge HEAP_InitSubHeap and HEAP_CreateSubHeap. 2008-10-31 13:00:15 +01:00
Lei Zhang 7fca3486ad ntdll: Skip deleted files in read_directory_getdents. 2008-10-31 12:57:46 +01:00
Alexandre Julliard 5002bd21d1 kernel32: Moved the pthread emulation support to ntdll. 2008-10-30 15:39:50 +01:00
Alexandre Julliard 74cdb539a4 ntdll: Store the exit code in the server in RtlExitUserThread. 2008-10-29 20:37:43 +01:00
Alexandre Julliard 21453b4c2e ntdll: Allocate a new virtual region for large blocks, and ensure 16-byte alignment. 2008-10-29 17:32:45 +01:00
Alexandre Julliard 7db820e900 ntdll: Add a few more tests for RtlIsDosDeviceName_U, fix some failures on Windows. 2008-10-29 15:22:06 +01:00
Alexandre Julliard 6be25f8cb1 ntdll: Simplify the RtlIsDosDeviceName_U implementation. 2008-10-29 15:21:51 +01:00
Alexandre Julliard f0fed2831a ntdll: Ignore some system directories in NtQueryDirectoryFile to avoid recursion troubles. 2008-10-28 13:55:24 +01:00
Alexandre Julliard 56788cc5b6 ntdll: Use the end of the reserved area as address space limit, in case we have more than 3Gb available. 2008-10-28 13:51:36 +01:00
Alexandre Julliard eaae717ede ntdll: Make sure the last relocation contains some data. 2008-10-27 13:19:30 +01:00
Michael Stefaniuc 26bba27dc0 ntdll: Don't cast void pointers to other pointer types. 2008-10-24 14:25:01 +02:00
Andrew Talbot a63749cce0 ntdll: Sign-compare warnings fix. 2008-10-24 14:25:00 +02:00
Aric Stewart 589d7eaa93 ntdll/tests: handle info behavior for vista and 2008 properly. 2008-10-23 15:16:32 +02:00
Aric Stewart 65e677735e ntdll: Update behavior of ActivationContextBasicInformation. 2008-10-22 14:57:22 +02:00
Aric Stewart a226f6609f ntdll: Implement SystemProcessorPerformanceInformation for Linux (/proc filesystems) and Mac OS X. 2008-10-20 13:56:58 +02:00
Paul Bryan Roberts b1542f4f00 ntdll: RtlSetControlSecurityDescriptor() implementation and test. 2008-10-20 13:46:33 +02:00
Francois Gouget 215738a140 dirent.h is a conditional include now. 2008-10-20 11:37:27 +02:00
Austin English a1e615813f ntdll: Quiet a noisy fixme. 2008-10-08 14:26:56 +02:00
Alexandre Julliard 4d958a1cb3 ntdll: Preserve the 2K block size returned for CDROMs. 2008-10-06 17:52:23 +02:00
Andrey Turkin c425c8a406 ntdll: Add stubbed implementations for NtQueryEaFile and NtSetEaFile. 2008-09-25 13:29:30 +02:00
James Hawkins a5684fdfb3 ntdll: Fix a couple failing tests in NT4. 2008-09-24 13:12:01 +02:00
Paul Vriens a635a4ff41 kernel32/tests: Add a skip. 2008-09-23 12:23:52 +02:00
Paul Vriens 7988506091 kernel32/tests: Add a skip. 2008-09-23 12:23:48 +02:00
Paul Vriens e9f5fbc419 ntdll/tests: Show that we are skipping tests. 2008-09-22 12:19:17 +02:00
Paul Vriens 1010768d8e ntdll/tests: Show that we are skipping tests. 2008-09-22 12:19:10 +02:00
Paul Vriens f812d30486 ntdll/tests: Use skip and add a FreeLibrary. 2008-09-22 12:18:30 +02:00
Alexandre Julliard 733693829a ntdll/tests: Fix a few test failures on NT4. 2008-09-22 12:14:41 +02:00
Alexandre Julliard 42e6d94784 ntdll/tests: Fix a couple of tests failing on NT4. 2008-09-19 14:03:47 +02:00
Alexandre Julliard c190bdde50 ntdll/tests: Clear the direction flag in the handler since Windows may not do it.
Add some comments to make it easier to identify failing tests.
2008-09-16 22:35:48 +02:00
Alexandre Julliard b0192cfed3 ntdll: Hardcode the filesystem cluster size to avoid trouble on NFS. 2008-09-16 11:32:38 +02:00
Alexandre Julliard a543896382 ntdll/tests: Fix the async I/O test on Vista. 2008-09-11 14:18:46 +02:00
Alexandre Julliard 091d9748e3 ntdll: Add stubs for all the job object functions. 2008-09-04 22:47:13 +02:00
Alexandre Julliard 0327f84a2f ntdll: Implemented NtOpenProcessTokenEx and NtOpenThreadTokenEx. 2008-09-04 21:57:13 +02:00
Dmitry Timoshkov 97f2cbc1ea ntdll: Add support for NtSetInformationProcess(ProcessExecuteFlags). 2008-09-04 11:53:00 +02:00
Jeff Zaroyko a2022c898a ntdll: Add some tests for NtDeleteFile. 2008-09-03 14:21:44 +02:00
James Hawkins b5812e0013 ntdll: Fix a failing test in NT4. 2008-09-03 14:21:43 +02:00
James Hawkins f6a9514e96 ntdll: Fix a few failing tests in Vista. 2008-09-03 13:14:51 +02:00
Alexandre Julliard 45a0f45cdd ntdll/tests: Fix a few more failures in the info test. 2008-08-27 14:19:23 +02:00
Alexandre Julliard cf36931614 ntdll/tests: Handle a couple of failures on NT4. 2008-08-26 20:43:33 +02:00
Alexandre Julliard 220bc61c21 Include sys/filio.h to get the FIONREAD definition on Solaris. 2008-08-26 20:40:57 +02:00
Alexandre Julliard fcdce5c6f3 ntdll/tests: Allow alternate results in the string tests to make them pass on Vista. 2008-08-26 12:07:43 +02:00
Alexandre Julliard f7a8436e92 ntdll/tests: Allow alternate results in the info test to make it pass on Vista. 2008-08-26 12:07:42 +02:00
Alexandre Julliard d1f8dd1549 ntdll/tests: Allow alternate results in the env test to make it pass on Vista. 2008-08-26 12:07:42 +02:00
Michael Karcher af2d274f0e ntdll: Add sub-second resolution to NtQueryInformationFile. 2008-08-20 14:56:01 +02:00
Gerald Pfeifer e375b0c4a2 Add return statements to avoid gcc warnings. 2008-08-20 12:53:22 +02:00
Dan Hipschman a148e190af ntdll: Add support for a default timer queue. 2008-07-30 12:44:25 +02:00
Alexandre Julliard eac613f604 ntdll: Use the generic int 0x91 syscall on Solaris so that it works on all CPUs. 2008-07-29 20:41:30 +02:00
Dan Hipschman 2b287a4489 ntdll: Fix a small timer-queue bug whereby a deleted timer may still expire. 2008-07-28 11:32:21 +02:00
Dan Hipschman 4c64d0cdfa ntdll: Implement RtlDeleteTimer for kernel32's DeleteTimerQueueTimer. 2008-07-25 14:09:15 +02:00
Dan Hipschman 396e47ef5c ntdll: Implement RtlUpdateTimer for kernel32's ChangeTimerQueueTimer. 2008-07-25 14:09:15 +02:00
Dan Hipschman 5ef54c4cec ntdll: Implement the timer queue thread. 2008-07-25 14:09:15 +02:00
John Reiser adda485933 ntdll: Tell valgrind to load the .pdb debugging info for the module that was just loaded. 2008-07-25 12:16:11 +02:00
John Reiser d6f4691106 ntdll: When tracking allocated blocks, RtlDestroyHeap must notify that all the blocks are being freed. 2008-07-25 11:52:43 +02:00
Dan Hipschman d343f2baf7 ntdll: Implement RtlCreateTimer for kernel32's CreateTimerQueueTimer. 2008-07-23 11:24:03 +02:00
Dan Hipschman 20a1ca2bbf ntdll: Implement [Rtl]Create/DeleteTimerQueue[Ex]. 2008-07-22 13:24:21 +02:00
Lei Zhang ee60c49dd6 ntdll: Use our own implementation of atoi and atol. 2008-07-22 13:09:28 +02:00
Zac Brown 38f6dbc55a ntdll: Remove byte reversed U+3000 (CJK space) from being checked in RtlIsTextUnicode. 2008-07-18 11:12:07 +02:00
Gerald Pfeifer a44771c925 ntdll/tests: Use NTSTATUS instead of DWORD for status variables. 2008-07-16 20:09:59 +02:00
Andrew Talbot 741b65c200 ntdll: Remove unneeded address-of operators from array names. 2008-07-11 14:06:27 +02:00
Alexandre Julliard e5566691e2 ntdll: Add some workarounds for Solaris signal handling breakages. 2008-07-10 18:18:16 +02:00
Maarten Lankhorst e98933a279 ntdll: Use module for path to activation context. 2008-07-10 17:45:16 +02:00
Alexandre Julliard 13fbba6847 ntdll: Always restore the %gs register from the saved value in thread data. 2008-07-08 21:08:54 +02:00
Alexandre Julliard 531ff0be26 ntdll: Split the signal setup into process-wide and thread-specific routines. 2008-07-03 20:18:23 +02:00
Alexandre Julliard 94e217891c exception.h: Make the RtlUnwind wrapper available separately.
Also avoid dependency on winternl.h.
2008-07-03 13:08:19 +02:00
James Hawkins 3c969224ad ntdll: Skip the byte swap test in win2k. 2008-07-02 12:20:31 +02:00
Peter Oberndorfer 9cd60e2024 ntdll: Add broken() to two test cases. 2008-07-02 11:49:52 +02:00
Zac Brown 8f3ae2011c ntdll: Implement checking for control characters in RtlIsTextUnicode. 2008-07-01 12:38:34 +02:00
Alexandre Julliard d350998cec ntdll: Don't bother to check the file name against the mask if stat() succeeded. 2008-06-30 15:10:50 +02:00
Alexandre Julliard d45677788e ntdll: Only recompose Unicode on Mac OS when using utf-8. 2008-06-30 15:10:25 +02:00
Alexandre Julliard 8e5f281276 ntdll: Add some sanity checks for invalid relocation blocks. 2008-06-30 12:51:35 +02:00
Alexandre Julliard 58d076b419 ntdll: Force execute permission again on the stack after clearing it. 2008-06-26 21:10:57 +02:00
Zac Brown e24e7e7852 ntdll/tests: Add tests for (Rtl)IsTextUnicode to verify that IS_TEXT_UNICODE_CONTROLS and IS_TEXT_UNICODE_REVERSE_CONTROLS are not mutually exclusive. 2008-06-25 20:23:00 +02:00
Jon Griffiths 1ad733e4e0 ntdll: Implement [Rtl]InitializeCriticalSectionEx. 2008-06-23 14:04:24 +02:00
Huw Davies a3d7155947 ntdll: Free the correct buffer in the test. 2008-06-20 11:19:19 +02:00
Paul Vriens f75e4bf0de ntdll/tests: Free memory after use. 2008-06-10 17:43:06 +02:00
Alexandre Julliard e02fa19013 ntdll/tests: Fix a few tests on Vista. 2008-06-10 11:33:51 +02:00
Zac Brown b483b68013 ntdll/tests: Actually verify right bytes received in aio test. 2008-06-03 11:17:36 +02:00