Commit Graph

1797 Commits

Author SHA1 Message Date
Alexandre Julliard 67da7ba597 server: Use the async queue for pipe flush requests. 2015-05-08 18:02:57 +09:00
Alexandre Julliard ad53ffc9c0 server: Make async objects waitable. 2015-05-08 17:32:06 +09:00
Qian Hong 10d35121db server: Remove useless trailing comma in array. 2015-05-07 22:29:22 +09:00
Alexandre Julliard 193667ecd7 ntdll: Fix handling of async cancellation for directory changes. 2015-05-07 16:02:26 +09:00
Aric Stewart 3599f956e2 server: Fixup input windows on thread_detach. 2015-05-06 20:54:55 +09:00
Alexandre Julliard 6073e75a6a server: Implement flush requests for device files. 2015-05-06 17:16:48 +09:00
Alexandre Julliard 481517178f server: Make the APC callback optional in async calls. 2015-05-06 17:16:48 +09:00
Alexandre Julliard 83e3a9c9ba server: Allow cancelling async I/O for all object types. 2015-05-06 17:16:16 +09:00
Alexandre Julliard 62802339a5 server: Add a trace for the supported socket ioctl. 2015-05-06 17:16:16 +09:00
Alexandre Julliard 311f786286 server: Add a common structure to store irp parameters. 2015-05-06 17:16:16 +09:00
Alexandre Julliard faa1db4d13 server: Implement read and write requests for device files. 2015-05-06 17:16:16 +09:00
Alexandre Julliard 41ea55294e server: Add read and write requests on file objects. 2015-05-06 17:16:15 +09:00
Alexandre Julliard 860091d2fd server: Add an async structure to the flush request to follow the common pattern. 2015-05-06 17:16:15 +09:00
Alexandre Julliard 837b39b202 server: Add read and write fd member functions.
Also rename no_flush() to no_fd_flush() for consistency.
2015-05-06 09:07:42 +09:00
Alexandre Julliard fc4a94c0e2 server: Return irp size separately from the output data. 2015-05-06 08:44:30 +09:00
Alexandre Julliard 6f2ed23c16 server: Retrieve ioctl data directly from the request. 2015-05-06 08:44:29 +09:00
Alexandre Julliard 165dd1ff36 server: Rename ioctl to irp to allow supporting various types of I/O requests. 2015-05-06 08:44:29 +09:00
André Hentschel 6adcad498c server: Allow 32-bit connections on ARM64. 2015-05-06 08:41:50 +09:00
Alexandre Julliard 247275aec3 server: Return a valid position also in posted messages. 2015-04-27 18:04:59 +09:00
Aric Stewart bed7e69a14 server: Do not replace focus and active windows with NULL on thread_attach_input. 2015-04-23 17:48:33 +09:00
Dmitry Timoshkov c0e876cb9e server: GetQueueStatus should clear only checked queue changed bits. 2015-04-21 17:32:53 +09:00
Hans Leidekker aa407a2818 server: Accept mandatory label ACEs. 2015-04-17 14:53:18 +09:00
Sebastian Lackner a7247df6ca server: Implement waiting for job objects. 2015-04-07 23:16:20 +09:00
Andrew Cook 1d359a5827 server: Implement TerminateJobObject. 2015-04-07 23:15:47 +09:00
Andrew Cook 5d85f57814 server: Track handle count of objects. 2015-04-03 17:07:37 +09:00
Andrew Cook 47ffeaee74 server: Implement io completion messages for job objects. 2015-04-03 00:33:29 +09:00
Andrew Cook 0dbe5adc21 server: Implement job inheritance. 2015-04-03 00:33:29 +09:00
Andrew Cook ecd41d1de7 server: Implement job limit flags. 2015-04-03 00:33:29 +09:00
Andrew Cook 3affd63b34 server: Implement IsProcessInJob. 2015-04-01 22:34:19 +09:00
Andrew Cook 98132f0364 server: Implement AssignProcessToJobObject. 2015-04-01 22:34:18 +09:00
Andrew Cook 0e78b0248d server: Implement CreateJobObject. 2015-04-01 17:05:44 +09:00
Piotr Caban 00b3f055be server: Fix DACL to permissions conversion. 2015-03-31 00:04:43 +09:00
Piotr Caban 3eb448cf33 server: Make directory DACL entries inheritable. 2015-03-27 20:41:03 +09:00
Alexandre Julliard 7c538cddeb server: Post a notification to the desktop window when a top-level window is destroyed. 2015-03-27 20:40:36 +09:00
Alexandre Julliard 9fc48b2866 server: Fix the string type in traces for I/O completion names. 2015-03-25 20:30:48 +09:00
André Hentschel 5c6e2032d8 server: Add header guarding for security.h. 2015-03-19 14:08:06 +09:00
Alexandre Julliard 5db44d15ac server: Copy completion information for accepted socket into the new file descriptor. 2015-03-17 00:19:55 +09:00
Alexandre Julliard ecf7ed6650 server: Add a request to store the results of an ioctl asynchronously. 2015-03-11 22:45:51 +09:00
Alexandre Julliard 0157f76888 server: Allow device manager ioctls to run asynchronously. 2015-03-11 22:44:51 +09:00
Alexandre Julliard 8364351b99 server: Don't report completion at all in the MORE_PROCESSING_REQUIRED case. 2015-03-07 14:26:51 +09:00
Alexandre Julliard 0a241b0fcc ntdll: Allow specifying the user APC argument in the system APC callback. 2015-03-03 17:02:03 +09:00
Alexandre Julliard 8843bc144d server: Allow passing an argument for the user APC async I/O callbacks. 2015-03-03 17:02:03 +09:00
Erich E. Hoover 67c47e401b server: Implement the interface change notification object. 2015-02-10 22:57:36 +09:00
Erich E. Hoover b121f27b72 server: Add blocked support for SIO_ADDRESS_LIST_CHANGE ioctl(). 2015-02-10 22:45:02 +09:00
Erich E. Hoover 315de61bb2 server: Add socket-side support for the interface change notification object. 2015-02-10 22:45:00 +09:00
Erich E. Hoover 1239663fcb server: Implement socket-specific ioctl() routine. 2015-02-10 22:29:40 +09:00
Piotr Caban 03f645a76b server: Filter WM_QUIT message in PeekMessage call if PM_QS_POSTMESSAGE was not specified. 2015-02-09 17:40:40 +09:00
Charles Davis 4fe1977743 server: Use mach_vm_* functions instead of the old vm_* functions. 2015-01-23 11:15:20 +01:00
Marcus Meissner ea5808dff5 server: Initialize the _len parts to 0 (Coverity). 2014-12-01 11:00:20 +01:00
Sebastian Lackner b985b677e8 server: Fix several fd leaks on error in new_process wineserver call. 2014-11-20 22:33:39 +09:00
Sebastian Lackner 9aad600d86 server: Always remove inflight fd if alloc_console fails. 2014-11-20 22:33:29 +09:00
Sebastian Lackner d00e8ebda7 server: Avoid calling close on negative value in create_console_output handler (Coverity). 2014-11-20 22:33:10 +09:00
Sebastian Lackner 9d63e3f949 server: Avoid reallocating region data when there is still enough space. 2014-11-19 16:40:03 +09:00
Sebastian Lackner 0e2e9e4efc server: Avoid leaking file descriptor on error in create_thread function. 2014-11-18 14:14:18 +09:00
Sebastian Lackner 3d3c92782a server: Avoid leaking file descriptor on error in create_file_for_fd. 2014-11-18 14:14:04 +09:00
Sebastian Lackner 609d43e408 server: Avoid leaking file descriptors if create_console_input fails. 2014-11-18 14:12:29 +09:00
Sebastian Lackner 749e2aa36f server: Close fd if there is no space in thread inflight fd list. 2014-11-17 17:27:01 +09:00
Hans Leidekker b31ed58b96 server: Set the security descriptor of named pipe objects. 2014-11-12 21:09:50 +09:00
Bruno Jesus 3591e5fd9f server: Store the time of the socket connection.
Based on a patch by Erich Hoover.
2014-11-12 20:07:55 +09:00
Bruno Jesus 8821967bd6 server: Add a missing socket protocol attribution.
The new socket has to inherit the information just like family and type.
2014-11-12 20:07:55 +09:00
Piotr Caban f747e5c8c9 user32: Don't move mouse hardware messages to other threads queues. 2014-10-17 17:51:55 +09:00
Piotr Caban 3f1bbdcae3 server: Send mouse hardware messages to thread owning top-most window.
Also don't limit mouse message scope to top-most window when message
comes from SendInput or window that generated the event is
minimized/transparent.
2014-10-17 17:51:52 +09:00
Sebastian Lackner add67b6f8d server: Fix invalid memory access when copying KeyNameInformation data. 2014-10-17 14:40:24 +09:00
Akihiro Sagawa e94d2e0459 server: KeyNameInformation returns the full name of the key. 2014-10-15 22:01:59 +09:00
André Hentschel 8b07523c56 server: Update CPU type dumping. 2014-10-13 18:10:58 +09:00
Joris van der Wel 6d19aa83bf server: A new function "set_sd_defaults_from_token". 2014-10-01 14:53:59 +02:00
Felix Janda f5320ad4a8 server: Include <sys/types.h> for mode_t. 2014-08-25 15:52:39 +02:00
Sebastian Lackner 82ce3fdcfd server: Implement set_named_pipe_info wineserver call for NtSetInformationFile/FilePipeInformation.
Based on a patch by Adam Martinson.
2014-08-20 19:40:07 +02:00
Sebastian Lackner 2e95f370d4 server: Store pipe_flags in a separate variable for both server and client of named pipes. 2014-08-20 19:38:04 +02:00
Alexandre Julliard 8d817997ce configure: Add a check for sys/ucontext.h and include it where appropriate. 2014-07-23 19:06:58 +02:00
Joris van der Wel 0a4c7860f8 server: Setting a security descriptor should not replace an existing owner or group with a default, if only a DACL is being set. 2014-07-08 19:04:49 +02:00
Joris van der Wel 11674b2f61 server: Any of the 4 SE_*_DEFAULTED controls should not be stored on objects, their usage is transient. 2014-07-01 13:07:48 +02:00
Sebastian Lackner 9696ea5063 server: Get rid of RIP_EVENT union elements. 2014-06-23 10:20:19 +02:00
Sebastian Lackner 35e56fb042 server: Avoid invalid memory access when thread is killed while in wake_up(). (Valgrind). 2014-06-23 10:12:02 +02:00
Sebastian Lackner 3447567b42 server: Grab borrowed debugger reference while handling wake_up() events. (Valgrind). 2014-06-23 10:11:35 +02:00
Sebastian Lackner 2f9fdec310 server: Remove output_debug_string request. 2014-06-20 16:30:52 +02:00
Francois Gouget f4c7e6d607 server: Treat ENOTSUP the same way as ENOLCK, consider locking to be non-functional on that filesystem. 2014-06-18 19:55:33 +02:00
Felix Janda e3faab267c server: Add missing includes of poll.h. 2014-06-12 18:05:08 +02:00
Michael Müller 9602fa7a93 server: Fix return value for FSCTL_PIPE_WAIT if pipe does not exist. 2014-06-11 13:07:11 +02:00
Vincent Povirk 417585661c server: Clear the queue's QS_SMRESULT bit when sending a new message. 2014-05-20 21:26:52 +02:00
Vincent Povirk 473a3a47a7 server: Try to get a read lock if we can't get a write lock. 2014-05-09 14:16:19 +02:00
Marcus Meissner 3068d827da server: Use longer int in bitshift operation (Coverity). 2014-04-17 10:44:14 +02:00
Alexandre Julliard 202d91e551 Revert "server: Restore the masks from the previous get_message when a wait is satisfied."
This reverts commit f846312f46.
The masks will be stored on the client side instead.
2014-04-10 16:28:52 +02:00
Piotr Caban 4fca169301 server: Don't debug children when DEBUG_PROCESS and DEBUG_ONLY_THIS_PROCESS flags are passed to CreateProcess. 2014-04-09 13:15:58 +02:00
Piotr Caban de21941178 user32: Change SetForegroundWindow behavior on windows with parent and no WS_CHILD flag. 2014-03-27 16:18:05 +01:00
Alexandre Julliard f846312f46 server: Restore the masks from the previous get_message when a wait is satisfied. 2014-03-19 16:50:32 +01:00
Dmitry Timoshkov 383f7ba002 server: Add THREAD_[SET|QUERY]_LIMITED_INFORMATION to generic access mappings and appropriately change THREAD_ALL_ACCESS. 2014-02-06 17:08:33 +01:00
Dmitry Timoshkov a0b08adbe4 server: Add PROCESS_QUERY_LIMITED_INFORMATION to GENERIC_EXECUTE access mapping and appropriately change PROCESS_ALL_ACCESS. 2014-02-06 17:08:32 +01:00
Dmitry Timoshkov 53847fd6a1 server: Fix generic access mapping for a process. 2014-02-06 17:08:31 +01:00
Dmitry Timoshkov 6e2de14df1 server: Fix generic access mapping for a thread. 2014-02-05 13:49:30 +01:00
Dmitry Timoshkov fdd483c083 server: Fix generic access mapping for a semaphore. 2014-02-04 10:52:15 +01:00
Alexandre Julliard cf0e96c6d0 configure: Rename substituted variables to a standard _CFLAGS and _LIBS format. 2014-01-30 14:51:33 +01:00
Dmitry Timoshkov 422116490b server: Fix generic access mapping for a mutex. 2014-01-30 10:36:09 +01:00
Dmitry Timoshkov 5953851b8a server: Fix generic access mapping for an event. 2014-01-29 15:00:57 +01:00
Alexandre Julliard 509364e1dd makefiles: Get rid of Make.rules. 2014-01-14 12:18:02 +01:00
Sebastian Lackner 0b261bef76 server: Don't call close() on uninitialized memory in sock_check_pollhup. 2014-01-01 20:45:32 +01:00
Alexandre Julliard 092f37fc2d makefiles: Include program files in the all: target. 2013-12-31 19:07:49 +01:00
Dmitry Timoshkov bfb4f28dc5 ntdll: Implement NtQuerySemaphore/SemaphoreBasicInformation. 2013-12-26 16:51:07 +01:00
Alexandre Julliard 1047e0474d makefiles: Leave it to install-sh to create destination directories. 2013-12-26 14:35:15 +01:00
Austin English d506e59dab server: Set process start time a bit later. 2013-12-20 11:13:10 +01:00