Commit Graph

1787 Commits

Author SHA1 Message Date
Alexandre Julliard
197bddfb87 ntdll: Report end of file instead of broken pipe on char devices. 2007-05-31 12:19:03 +02:00
Francois Gouget
e4a98928ab ntdll/tests: Remove an inappropriate const qualifier. 2007-05-29 13:46:27 +02:00
Marcus Meissner
a5facc008b ntdll: Initialize pointers to NULL (Coverity). 2007-05-23 13:14:09 +02:00
Dmitry Timoshkov
e142779b09 ntdll: Fix compilation warnings in 64-bit mode. 2007-05-23 13:10:20 +02:00
Dmitry Timoshkov
737b9e5acd winternl.h: Make the fields of the PROCESS_BASIC_INFORMATION structure use same type width as a PSDK one. 2007-05-23 13:04:58 +02:00
Peter Oberndorfer
eab168cf9e ntdll: Fix up instruction pointer in context inside raise_exception. 2007-05-23 12:50:57 +02:00
Alexandre Julliard
be59e2bb53 Fix a couple of overflowing heap allocations revealed by the previous change. 2007-05-22 11:59:36 +02:00
Alexandre Julliard
cc54b7d9bd ntdll: Avoid overflows in heap allocations. Based on a patch by Rob Shearman. 2007-05-22 11:59:18 +02:00
Vitaliy Margolen
311c001654 ntdll: Implement RtlWriteRegistryValue and forward ntoskrnl to it. 2007-05-21 17:03:00 +02:00
Francois Gouget
820d954095 ntdll: Fix compilation on systems that don't support nameless unions. 2007-05-21 12:38:54 +02:00
Alexandre Julliard
5aa70b3d80 ntdll: Setup the shared user data structure at 0x7ffe0000. 2007-05-18 18:09:03 +02:00
Alexandre Julliard
447fda5206 ntdll: Implemented LdrAddRefDll. 2007-05-16 16:39:29 +02:00
Alexandre Julliard
b64530eee4 ntdll: Reimplement LdrGetDllHandle to use the same search algorithm as LdrLoadDll. 2007-05-16 16:35:43 +02:00
Erez Volk
14a3275436 ntdll: Added IDT Timezone (Israel daylight savings time). 2007-05-16 11:55:47 +02:00
Andrew Talbot
9fe3b60f12 ntdll: Exclude unused headers. 2007-05-15 12:19:31 +02:00
Peter Oberndorfer
849a0fcf97 ntdll: Use correct prototype for thread function. 2007-05-11 11:20:42 +02:00
Alexandre Julliard
aafcfe7663 server: Add support for retrieving results of queued ioctls once they are done. 2007-05-08 20:45:44 +02:00
Alexandre Julliard
c5134b77c6 ntdll: Support setting the CPU context on the current thread without segment registers. 2007-05-08 20:09:25 +02:00
Peter Oberndorfer
3d57dd3f07 ntdll: Call NtQueryAttributesFile in RtlDoesFileExists_U. 2007-05-04 12:39:45 +02:00
Konstantin Kondratyuk
e84d270252 ntdll: Correct a copy/paste mistake in NtWriteFile. 2007-05-04 12:39:13 +02:00
Alexandre Julliard
46fe7177c1 server: Allocate the wait event for FSCTL_PIPE_WAIT on the server side. 2007-05-03 17:44:32 +02:00
Alexandre Julliard
63a2372526 server: Allocate the wait event for FSCTL_PIPE_LISTEN on the server side. 2007-05-03 17:44:05 +02:00
Alexandre Julliard
fd59e158a7 server: Infrastructure to return a wait handle for blocking ioctls. 2007-05-03 17:43:18 +02:00
Andrew Talbot
a22c7a6c34 kernel32: Constify a variable. 2007-05-03 14:23:31 +02:00
Vitaliy Margolen
cf1b810d74 ntdll: Use correct full access bitmask in NtQuerySecurityObject. 2007-04-30 12:32:53 +02:00
Alexey Markachev
160f1c350e ntdll: Fix mistake in Novosibirsk time zone. 2007-04-27 11:45:35 +02:00
Michael Stefaniuc
5f62da109e janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call. 2007-04-25 12:26:07 +02:00
Alexandre Julliard
133b8bc3ed server: Return a more correct fd type for anonymous files. 2007-04-23 15:13:22 +02:00
Alexandre Julliard
6105a93be6 server: Moved the FSCTL_PIPE_LISTEN implementation to the server. 2007-04-18 16:26:37 +02:00
Alexandre Julliard
3684dc181c server: Move the FSCTL_PIPE_WAIT ioctl implementation to the server. 2007-04-17 22:07:07 +02:00
Alexandre Julliard
aaf477f292 server: Change the timeout handling to use NT-style 64-bit timeouts everywhere. 2007-04-17 20:08:59 +02:00
Alexandre Julliard
2669af73df server: Move the server part of device unmounting to the ioctl processing. 2007-04-16 14:54:52 +02:00
Alexandre Julliard
8c46095484 server: Implement the FSCTL_PIPE_DISCONNECT ioctl on the server side. 2007-04-16 14:51:29 +02:00
Alexandre Julliard
635714397f server: Add infrastructure for ioctl server request. 2007-04-16 14:45:03 +02:00
András Kovács
9f9b55d2fc ntdll: Add Vista version option. 2007-04-13 13:17:44 +02:00
Vitaliy Margolen
5b4cfac3bf ntdll: Take size of the arena from the current pointer before advancing. 2007-04-12 16:41:01 +02:00
Dmitry Timoshkov
335ce754b3 ntdll: Fix a compiler warning. 2007-04-12 16:19:34 +02:00
Andrew Talbot
ab2a48ae43 ntdll: Remove superfluous semicolons. 2007-04-12 16:16:58 +02:00
Andrew Talbot
a7aa7cb8b5 ntdll: Void functions should not return a value. 2007-04-12 16:16:51 +02:00
Kai Blin
21e6beed5c ntdll: Don't use settimeofday() to attempt to set the timezone. 2007-04-12 16:08:59 +02:00
Alexandre Julliard
d85121f199 ntdll: Store the file access and options in the fd cache, and get rid of the dynamic flags.
This avoids server round-trips for all file I/O.
2007-04-10 22:32:46 +02:00
Alexandre Julliard
bc426ab059 server: Explicitly shutdown closed pipes to prevent access from file descriptors cached in the client. 2007-04-10 21:30:37 +02:00
Alexandre Julliard
64ba011dba ntdll: Determine the async read avail_mode flag from the client side. 2007-04-10 17:27:50 +02:00
Alexandre Julliard
6dcb280bc5 ntdll: Simplify the async read/write code now that most of the work is done in the server. 2007-04-10 17:19:24 +02:00
Alexandre Julliard
72bff2e445 server: Add support for restarting an async I/O when the client side couldn't finish it right away. 2007-04-10 17:07:27 +02:00
Marcus Meissner
6c2e14e5b0 ntdll: Remove superflous NULL checks. 2007-04-09 12:23:17 +02:00
Alexandre Julliard
a6ecf0a7a5 ntdll: Add some test cases for asynchronous I/O. 2007-04-09 12:23:13 +02:00
Alexandre Julliard
c915215ba6 ntdll: Use send(2) instead of write(2) for zero-byte writes to sockets. 2007-04-09 12:21:24 +02:00
Alexandre Julliard
7df060fc43 ntdll: Rely on the server to queue the final APC for asynchronous read/write. 2007-04-06 20:17:08 +02:00
Alexandre Julliard
55f3605c37 ntdll: Reimplement NtWriteFile.
Always try a write() before queuing an async I/O.
Handle timeout waits for synchronous I/O entirely on the client side.
Queue the final APC as a proper user APC.
2007-04-06 16:06:16 +02:00