Commit Graph

1798 Commits

Author SHA1 Message Date
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
Nikolay Sivov 56aa5d8a5f server: Return key name info for KeyNameInformation class. 2013-12-19 17:10:21 +01:00
Alexandre Julliard 1e78c99388 kernel32: Validate the architecture of newly created processes on the server side. 2013-11-22 12:32:48 +01:00
Erich E. Hoover d2e216f462 server: Create directories with the specified security attributes. 2013-11-21 19:44:45 +01:00
Alexandre Julliard e8eb781327 server: Check PE file architecture at mapping creation time. 2013-11-21 19:39:02 +01:00
Alexandre Julliard e2df0ab856 makefiles: Generate rules from makedep for building and installing man pages. 2013-11-18 11:40:00 +01:00
Alexandre Julliard a343edf44e makefiles: Rename translated manpages according to their destination directory. 2013-11-18 11:33:34 +01:00
Dmitry Timoshkov a890d0f030 server: Make it possible for WaitCommEvent to detect recursive requests. 2013-11-13 11:21:28 +01:00
Qian Hong ca4b3f0f73 server: Fixed winstation object leak in open_input_desktop. 2013-11-11 13:27:27 +01:00
Qian Hong f7835dea2d user32: Implement OpenInputDesktop. 2013-11-08 16:29:44 +01:00
Dmitry Timoshkov 3b429e88ff server: Add support for pending write flag to the serial device. 2013-10-25 13:36:01 +02:00
Francois Gouget d3cc10724e server: Include either sys/user.h or asm/user.h.
This avoids redefinitions with old Linux kernel headers.
2013-10-07 14:44:34 +02:00
Alexandre Julliard 8d5b8b1346 makefiles: Define __WINESRC__ globally. 2013-10-07 10:48:04 +02:00
Dmitry Timoshkov 6bd983c977 server: Add FILE_APPEND_DATA to the access rights that require unix file write permission. 2013-10-04 20:00:01 +02:00
Dmitry Timoshkov b29fbc4f00 server: Set the unix file write mode bit also for FILE_APPEND_DATA access. 2013-10-03 20:14:14 +02:00
Huw Davies b47a391e93 server: Android declares syscall() in sys/syscall.h . 2013-09-26 18:15:14 +02:00
Huw Davies 2a32d5765a server: Android has struct user in asm/user.h. 2013-09-24 18:58:24 +02:00
Bruno Jesus c52eb21754 server: Fix a comment. 2013-09-23 11:50:56 +02:00
Alexandre Julliard f9c76be084 server: Trigger a repaint on layered windows the first time the attributes are set. 2013-09-14 13:53:08 +02:00
Dmitry Timoshkov f031c676c1 server: Add a serial event mask change counter. 2013-09-10 11:18:57 +02:00
Dmitry Timoshkov e22f8d2fd8 server: Print the debug trace to stderr. 2013-09-04 11:32:53 +02:00
Bruno Jesus ec49a574de server: Add a request to get socket information. 2013-09-02 19:51:16 +02:00
Bruno Jesus f5023dda2d server: Store the protocol while creating the socket. 2013-09-02 19:48:08 +02:00
Wolfgang Walter f93a5d2560 ntdll: Call tcdrain for serial handles from NtFlushBuffersFile. 2013-08-29 19:56:17 +02:00
Alexandre Julliard 93fbb12e65 server: Implement waiting on keyed events. 2013-08-28 11:03:38 +02:00
Alexandre Julliard d4cd051cef server: Store abandoned state as a flag in the wait structure. 2013-08-27 23:48:37 +02:00
Alexandre Julliard 39644bb309 server: Pass a wait queue entry to the signaled/satisfied object functions. 2013-08-27 23:48:36 +02:00
Alexandre Julliard de9f5b33b8 server: Store the wait structure in the wait entry and add an accessor function for the thread. 2013-08-27 23:48:31 +02:00
Nikolay Sivov 2ef7e5fdae server: Fix string length used with strncmpW(). 2013-08-27 21:30:02 +02:00
Alexandre Julliard 947e337480 server: Make signal and wait a separate select operation. 2013-08-26 20:34:28 +02:00
Alexandre Julliard 042e0046d4 server: Make select on all handles a separate operation. 2013-08-26 20:32:52 +02:00
Alexandre Julliard c2ab7a625e server: Add a structure to pass the parameters of a select request. 2013-08-26 20:24:42 +02:00
Andrew Cook cdfee68be1 ntdll: Implement NtQueryEvent. 2013-08-26 14:27:56 +02:00
Alexandre Julliard 4654d871b2 server: Map new handle access even when not checking it. 2013-08-26 14:17:42 +02:00
Alexandre Julliard 33406f51be server: Don't include SYNCHRONIZE in the keyed event access rights. 2013-08-26 11:09:23 +02:00
Dmitry Timoshkov 0b4c9cb533 server: Store full-sized completion information on the server side. 2013-08-23 20:15:43 +02:00
Alexandre Julliard 8c0796c4a7 server: Create the critical section keyed event object on startup. 2013-08-21 14:24:06 +02:00
Alexandre Julliard dbf9d71ef8 server: Add support for keyed event objects. 2013-08-21 14:24:06 +02:00
Hans Leidekker 7dfdcf3034 server: The token user SID must be present in the default DACL. 2013-07-30 14:43:34 +02:00
Frédéric Delanoy 91cb426ca7 server: Update French translation of manpage. 2013-07-22 17:16:06 +02:00
Frédéric Delanoy c350ae14da server: Make wineserver manpage conform to common manpages conventions. 2013-07-22 17:16:05 +02:00
Frédéric Delanoy 426bb06baa server: Fix manpage formatting. 2013-07-19 16:28:06 +02:00
André Hentschel ff117b6df2 server: Replace note about the Changelog file. 2013-07-17 11:23:53 +02:00
Alexandre Julliard dcc97a186d Standardize the BUGS, AVAILABILITY and SEE ALSO sections across all man pages. 2013-07-16 20:48:05 +02:00
Julian Rüger 8dca13df5d server: Update German translation of manpage. 2013-07-08 12:03:30 +02:00
Frédéric Delanoy d3e6369a1d server: Update French translation of wineserver manpage. 2013-07-01 19:51:23 +02:00
Frédéric Delanoy ea8c843d57 server: Clarify wineserver manpage -d option. 2013-07-01 19:51:23 +02:00
Julian Rüger 946e075012 server: Update German translation of manpage. 2013-06-26 22:51:28 +02:00
Piotr Caban 76bfbf43e9 server: Don't create new handle when DUP_HANDLE_CLOSE_SOURCE is used if possible. 2013-06-05 17:31:40 +02:00
Dmitry Timoshkov df6c2a8418 server: Mark the process as disconnected from desktop/winstation before closing its handles. 2013-06-03 21:11:38 +02:00
Qian Hong 31b9455b7e server: Automatically sets a socket to non-blocking mode when WSAAsyncSelect or WSAEventSelect is called even when lEvent is zero. 2013-05-28 19:43:48 +02:00
Dmitry Timoshkov fd76b695b9 server: Set appropriate status for a terminated thread. 2013-05-13 11:10:12 +02:00
Dmitry Timoshkov 094e465790 server: A destroyed process handle table means that the process is terminating. 2013-05-08 12:44:49 +02:00
Dmitry Timoshkov bfe3b3bdb6 server: Set error to STATUS_PROCESS_IS_TERMINATING if the process is terminating. 2013-05-08 12:44:46 +02:00
Alexandre Julliard ea919d9de4 server: Use strerror instead of perror. 2013-05-07 12:19:22 +02:00
Dmitry Timoshkov bac0387d29 server: Fail to set process affinity mask if the process is terminating. 2013-05-07 11:25:54 +02:00
Dmitry Timoshkov af3d73b035 server: Add a process flag indicating whether the process is terminating, use it to block thread creation in a being terminated process. 2013-05-07 11:25:49 +02:00
Alexandre Julliard be417d6890 server: When changing a process desktop, start the close timeout on the old desktop if necessary. 2013-04-30 18:44:46 +02:00
Erich Hoover 03d99df597 server: Add builtin admins ACE to default registry DACL. 2013-04-29 11:52:15 +02:00
Erich Hoover 04cd764d76 server: Report a default DACL for registry keys. 2013-04-23 17:20:11 +02:00
Dmitry Timoshkov b92c82c942 server: Add support for NtTerminateProcess(0). 2013-04-15 16:45:33 +02:00
Erich Hoover 56c1a8b062 server: Report administrator ownership by default for registry objects. 2013-04-11 13:15:58 +02:00
Alexandre Julliard 62beef5a72 server: Add a helper function to compute an SID length. 2013-04-11 13:00:06 +02:00
Piotr Caban 23191a4355 server: Don't debug children when debugger is attached with DebugActiveProcess function. 2013-04-05 20:39:07 +02:00
Alexandre Julliard 9fdf7bc771 server: Use socklen_t where appropriate. 2013-03-06 13:40:58 +01:00
André Hentschel 0effd926b6 server: Remove SPARC support. 2013-03-05 11:04:07 +01:00
Alexandre Julliard fc7e81be15 server: Don't support debug registers in ptrace if sys/user.h is missing. 2013-02-13 17:19:42 +01:00
Alexandre Julliard bc602c3060 server: Return the window paint flags in the get_visible_region request. 2013-02-11 17:14:17 +01:00
Alexandre Julliard ca5746ad1a server: Also exclude the top-level client rectangle for windows that have a pixel format. 2013-02-11 17:08:19 +01:00
Alexandre Julliard a74dc1a119 server: Use the monotonic time counter also on the server side. 2013-01-30 13:05:30 +01:00
Alexandre Julliard 2b95df8fbd server: Use the __NR_ names for Linux system calls. 2013-01-21 21:37:10 +01:00
André Hentschel d11e72f925 server: Add ARM64 support. 2013-01-16 12:49:20 +01:00
Alexandre Julliard 2b97a064e3 server: Use sysconf() instead of getpagesize(). 2013-01-09 12:15:25 +01:00
Alexandre Julliard 6c94d4466a server: Don't expose the desktop on window resizes. 2012-11-27 19:36:52 +01:00
Francois Gouget e326470949 server: Print the usage to stdout when invoked with --help. 2012-11-23 14:40:07 +01:00
Alexandre Julliard d2607ff6c9 user32: Force refreshing the non-client area when the window surface is changed. 2012-11-06 16:02:43 +01:00
Alexandre Julliard 29b39020f7 server: Fix propagation of the pixel format flag when the parent window is changed. 2012-10-17 18:00:55 +02:00
Marcus Meissner 3199fe147d server: Removed duplicate close of acceptfd (Coverity). 2012-10-10 10:35:38 +02:00
Alexandre Julliard d0c9d22371 server: Add a heuristic to avoid computing surface regions when no pixel format has been set. 2012-10-09 15:22:46 +02:00
Alexandre Julliard a52ebb158e server: Add a request to compute the clipping region of a window surface. 2012-10-09 15:22:27 +02:00
Alexandre Julliard 20768173ba server: Add flags in the set_window_pos request to inform the server about the window surface. 2012-10-09 15:22:14 +02:00
Alexandre Julliard 1fd55b7334 server: Get rid of the waitpid wrapper. 2012-09-24 22:27:30 +02:00
Adrian Bunk 9d5c178b24 server: Use waitpid() instead of wait4(). 2012-09-24 22:27:30 +02:00
Alexandre Julliard 84fd7de0f7 server: Don't trigger repaints on position changes for layered windows. 2012-09-13 13:47:03 +02:00
Henri Verbeet 54efd8a430 server: Only remove WM_INPUT messages from the queue if PM_REMOVE is set. 2012-09-13 10:24:05 +02:00
Henri Verbeet c6fcc0255c user32: Add rawinput keyboard support. 2012-09-12 12:47:13 +02:00
Alexandre Julliard 43d465f86a server: Ignore color-keyed windows when updating the z-order. 2012-09-11 18:12:16 +02:00
Henri Verbeet faaf3d388e user32: Add rawinput mouse support. 2012-09-11 18:06:34 +02:00
Henri Verbeet 5befb959dd user32: Implement RegisterRawInputDevices(). 2012-09-10 11:44:19 +02:00
Alexandre Julliard a76f60d14e server: Always repaint the whole non-client area if part of it is exposed. 2012-09-04 14:11:07 +02:00
Alexandre Julliard 044f790bcb winex11: Always paint to the whole window. 2012-08-30 19:02:27 +02:00
Michael Stefaniuc 794ad90982 server: Avoid TRUE:FALSE conditional expressions. 2012-08-13 11:50:16 +02:00
Alexandre Julliard 0816a04d92 server: Subtract the current update region from the valid rect when a window client area is changed. 2012-07-17 12:50:23 +02:00
Erich Hoover 93552cc3df server: STATUS_MORE_PROCESSING_REQUIRED indicates that an async operation should not send a completion. 2012-06-07 16:07:00 +02:00
Erich Hoover e7dbb212a2 server: Access the completion from the file descriptor instead of the async object. 2012-06-06 13:47:28 +02:00
Dmitry Timoshkov 94c817e311 server: Make sure that region and rectangle have the same origin before calling rect_in_region(). 2012-06-06 12:39:53 +02:00
André Hentschel 89e462b141 server: Add checks for DragonFly BSD. 2012-05-29 10:46:34 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Dmitry Timoshkov 16b7a7f707 server: Add access mapping for IO completion objects. 2012-04-17 12:24:55 +02:00
Hans Leidekker d1b6cf9379 server: Include the Unix pid in the snapshot_next_process reply. 2012-04-16 17:49:32 +02:00