Commit Graph

1472 Commits

Author SHA1 Message Date
Alexandre Julliard 6ebc627996 server: Disallow all operations on deleted registry keys. 2010-04-02 15:22:31 +02:00
Alexandre Julliard 935cc7987d server: Update the registry key and value name length limits to the now documented values. 2010-04-02 11:48:50 +02:00
Alexandre Julliard 45e0e3df47 server: Update trace for new error codes. 2010-04-01 20:30:49 +02:00
Alexandre Julliard 27f2a35742 server: Fix 64-bit alignment of the context structure. 2010-04-01 19:56:09 +02:00
Alexandre Julliard 7d1d002d4c server: Set a proper error code when dup_fd_object fails. 2010-04-01 18:12:58 +02:00
Alexandre Julliard 0ea2806c3f server: Don't set the Wow64 flag on a Wow6432Node since it's already a 32-bit node. 2010-04-01 18:12:42 +02:00
Mikhail Maroukhine 0d7fef63ea server: Fix compiler warning with flag -Wcast-qual. 2010-03-29 12:11:53 +02:00
Mike Kaplinskiy 798c9e5161 ws2_32: Use ntstatus in overlapped functions. 2010-03-23 12:35:56 +01:00
Alexandre Julliard 8159d4eb99 server: Add support for storing the cursor and show count in the thread input structure. 2010-03-22 17:52:23 +01:00
Alexandre Julliard 5efe996c6a server: Add a helper function to change a queue thread input. 2010-03-22 17:48:22 +01:00
Francois Gouget bc8d21b5d7 server: Don't include winsock.h to avoid creating a dependency on generated headers.
The dependency does not really exist thanks to various #ifdefs, but
makedep does not know that and records it which causes a build failure.
2010-03-19 12:27:45 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Henri Verbeet f0a5045254 ntdll: Improve support for the ProcessDebugPort info class in NtQueryInformationProcess(). 2010-03-15 15:56:42 +01:00
Henri Verbeet 6c0ecd0955 server: Debugging our own process is disallowed. 2010-03-15 15:55:08 +01:00
Henri Verbeet 1970fb35d4 server: Allow the debugger to be debugged. 2010-03-05 13:21:22 +01:00
Alexandre Julliard b1c0441fac server: Fix a typo in the context tracing. 2010-03-05 12:25:12 +01:00
Alexandre Julliard 178cd20e28 server: Add support for Wow64 sharing of the HKLM\Software\Classes key. 2010-03-04 21:48:55 +01:00
Alexandre Julliard 606cc06148 server: Add a helper function for the common functionality between open_key and create_key. 2010-03-04 20:46:42 +01:00
Alexandre Julliard b0760fc2e9 server: Set the idle event when PeekMessage is called with -1 as window filter. 2010-03-03 13:20:53 +01:00
Alexandre Julliard 4d33d4982f user32: Pass HWND_BOTTOM unmodified to the server in PeekMessage. 2010-03-03 13:20:26 +01:00
Alexandre Julliard ac08b038f0 server: Initial support for Wow64 registry redirection. 2010-03-02 12:03:17 +01:00
Alexandre Julliard 8eca1da43c server: Make the standard registry key creation non-recursive. 2010-03-01 14:23:39 +01:00
Alexandre Julliard 22de1f43d9 server: Add a separate function for internal registry key creation. 2010-03-01 14:14:18 +01:00
XueFeng Chang 4bc7c59f44 server: Check create_event return value in console creation. 2010-02-23 12:09:25 +01:00
Alexandre Julliard adf9dcd6a7 user32: Fix Z-order handling of windows that have a top-most owner. 2010-02-19 13:05:08 +01:00
Alexandre Julliard 9c87c88837 server: Fix tracing of invalid ACLs. 2010-02-18 12:57:03 +01:00
Alexandre Julliard b5d4289d22 server: Save and load registry symlinks to/from disk files. 2010-02-16 12:26:44 +01:00
Alexandre Julliard 2a378676ef server: Save and load the registry class names to/from disk files. 2010-02-16 12:26:15 +01:00
Alexandre Julliard b139b935c4 server: Implement registry symlinks. 2010-02-15 21:07:01 +01:00
Alexandre Julliard 9ce56b2729 server: Set the initial thread affinity from the process. 2010-02-02 16:12:01 +01:00
Alexandre Julliard 2f3fa8596b server: Allow changing a thread affinity before it is initialized. 2010-02-02 15:58:02 +01:00
Alexandre Julliard 349eba9e09 server: Make terminate_process more robust against recursive calls for the same process. 2010-02-02 11:47:06 +01:00
Rob Shearman f12f8503a3 server: Fix symbol was not declared and using plain integer as NULL pointer sparse warnings. 2010-01-22 12:18:37 +01:00
Mike Kaplinskiy 8e669d9a61 server: Activate pending asyncs on a hangup/error. 2010-01-19 15:03:57 +01:00
Peter Dons Tychsen d21c131fb5 user32: Do not allow a change of capture if the currently capture window is a menu unless explicitly specified. 2010-01-14 09:04:55 -06:00
Alexandre Julliard 658dae988d server: Add support for returning the object name in NtQueryObject. 2010-01-08 13:01:50 +01:00
Alexandre Julliard b824fe05f4 server: Don't dump more than 1024 bytes in a trace. 2010-01-07 20:27:17 +01:00
Alexandre Julliard 7265e89226 server: Set the idle event when retrieving a timer message. 2009-12-16 18:18:07 +01:00
Alexandre Julliard 92e704edc5 server: Don't set the idle event when waiting for a message reply. 2009-12-16 18:06:38 +01:00
Alexandre Julliard 7d4e28480d server: Any thread can set the idle event, don't treat the first one differently. 2009-12-16 18:06:32 +01:00
Alexandre Julliard b57cc5561b server: Don't reset the idle event when the client stops waiting. 2009-12-16 18:06:14 +01:00
Alexandre Julliard d1dc48d8dc server: Don't set the idle event when a queue is destroyed, instead return success in WaitForInputIdle on process exit. 2009-12-16 18:00:34 +01:00
Alexandre Julliard 80e844f713 server: Simplify computation of file modes from the security descriptor. 2009-12-11 17:47:30 +01:00
Ben Peddell b419df1de4 server: Include user groups in file mode calculation when user is file owner. 2009-12-11 17:47:30 +01:00
Paul Chitescu 923524951a server: Only check if permission bits changed before calling fchmod(). 2009-12-08 17:42:32 +01:00
Alexandre Julliard 151446a2a6 server: Improve parameter checks when opening a directory. 2009-12-08 12:18:44 +01:00
Alexandre Julliard 42806f32e9 server: Add support for opening files from a specified root directory. 2009-12-01 17:38:24 +01:00
Alexandre Julliard e4faa12900 server: Make sure that last error doesn't get set during thread cleanup. 2009-12-01 15:10:23 +01:00
Alexandre Julliard 60efdd55ea server: Don't set last error in close_handle(), return the error code instead. 2009-12-01 13:59:41 +01:00
Alexandre Julliard 1a6c472115 server: Don't set last error in get_handle(), move that into the callers. 2009-12-01 13:49:43 +01:00
Paul Chitescu 51000c171b wineserver: Do not uselessly set the KEY_DIRTY flag on registry keys when loading from file. 2009-11-24 15:53:37 +01:00
Albert Lee 01b972d639 server: Support event ports on Solaris. 2009-11-24 15:53:37 +01:00
Alexandre Julliard 181b3cf07f server: Implement the file sharing check for delete on close with an existing image mapping. 2009-11-23 17:29:22 +01:00
Alexandre Julliard 923d582f07 server: Implement the file sharing check when truncating a file that has an existing mapping. 2009-11-23 17:24:45 +01:00
Alexandre Julliard fd504b6289 server: Implement the special file sharing rules for memory mappings. 2009-11-23 17:10:28 +01:00
Alexandre Julliard 028bca4cc5 server: Don't create a file object for anonymous mappings. 2009-11-23 16:30:01 +01:00
Alexandre Julliard 62eda39fc1 server: Moved the create_temp_file function to mapping.c. 2009-11-23 16:30:00 +01:00
Alexandre Julliard 5f808f03e1 server: Store a duplicate of the file descriptor for file mappings. 2009-11-23 16:30:00 +01:00
Alexandre Julliard 0f4068ac6f server: Use the file descriptor instead of the file object where possible in memory mappings. 2009-11-23 16:29:52 +01:00
Alexandre Julliard d57692d86b server: Also store a file descriptor object for mappings. 2009-11-23 15:59:37 +01:00
Alexandre Julliard 78d211b3bd server: Move the functions to extend file to mapping.c since it's the only user. 2009-11-23 15:58:25 +01:00
Alexandre Julliard a764fe8921 server: Use the correct thread id to set affinity. 2009-11-20 11:44:54 +01:00
Alexandre Julliard 72ba00fffe server: Only require REG_OPTION_VOLATILE when creating a new key. 2009-11-20 11:39:55 +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
Henri Verbeet 27705d51e1 server: Store the Unix name in the fd. 2009-11-12 15:31:38 +01:00
Andrey Turkin 5116dca8e1 server: Open mem file for write when writing memory. 2009-10-22 16:23:01 +02:00
Alexandre Julliard 538b24747c server: Free client-side user handles at process exit. 2009-10-15 17:56:04 +02:00
Alexandre Julliard 9018e13c5e server: Add support for allocating purely client-side user handles. 2009-10-12 17:07:04 +02:00
Andrey Turkin 3eaecf0476 kernel32: Always use ANSI version of OutputDebugString. 2009-10-06 12:03:35 +02:00
Michael Stefaniuc 0eed4405de server: A signed 1-bit bitfield doesn't make much sense; use unsigned. 2009-10-01 11:34:42 +02:00
Juan Lang bfb4578356 server: A thread's affinity is restricted to the process affinity. 2009-10-01 11:33:33 +02:00
Juan Lang 474b2e4bfb server: Use kernel support for thread affinity when available. 2009-09-30 14:34:32 +02:00
Juan Lang 24036fe13a server: Setting a process's affinity sets all of its threads' affinities too. 2009-09-30 14:34:32 +02:00
Alexandre Julliard a30778b34a server: Disable large files for procfs on Solaris. 2009-09-01 17:39:51 +02:00
Alexandre Julliard b8ae3f073b ntdll: Fix handling of the duplicate MxCsr entry in the x86_64 context. 2009-08-27 16:49:53 +02:00
Alexandre Julliard da8acbc47d server: Define an architecture-independent structure for process startup info. 2009-08-21 20:00:12 +02:00
Mike Kaplinskiy b05774ee7e server: Change cancel_async to take an optional iosb and only_thread. 2009-08-18 12:26:30 +02:00
Alexandre Julliard da1784bb9e server: Don't use the cached file mode when setting the security descriptor. 2009-08-17 17:26:51 +02:00
Alexandre Julliard 74a63029c7 server: Properly initialize mode and uid for file and directory objects. 2009-08-17 17:18:54 +02:00
Michael Karcher a0eb2ed413 server: Don't report LOAD_DLL debug event for exe module. 2009-08-17 16:44:14 +02:00
Alexandre Julliard 95d3a722ab server: Add support for image mappings for both 32- and 64-bit PE formats. 2009-08-12 12:53:16 +02:00
Andrew Nguyen 270179a78f server: Remap the EROFS errno value to STATUS_ACCESS_DENIED. 2009-07-13 12:25:41 +02:00
Alexandre Julliard 6056e8a52b server: Return the process CPU in the get_process_info request. 2009-07-07 11:37:47 +02:00
Alexandre Julliard 61a70360e6 server: Use sys/inotify.h if it exists instead of hardcoding the system calls. 2009-06-26 15:45:03 +02:00
Alexandre Julliard 034c6c3e58 server: The ptrace interfaces uses longs, not ints. 2009-06-18 15:17:26 +02:00
Alexandre Julliard fd78e6e3a5 server: Restart at the head of the wait queue when we woke a thread, since this can modify the queue. 2009-06-13 12:20:49 +02:00
Dmitry Timoshkov acb05666bb user32: Add a test for PeekMessage((HWND)-1), make it pass under Wine. 2009-06-12 17:33:16 +02:00
Alexandre Julliard 7a344c14af server: Avoid a crash when trying to wait on a disconnected pipe client. 2009-06-09 17:01:13 +02:00
Alexandre Julliard 5dcf157b5b server: Hide a window before destroying it if it was still visible. 2009-06-03 11:29:15 +02:00
Alexandre Julliard 2d69ba45d7 server: Reset events on the message queue fd to avoid busy looping when the thread is suspended. 2009-06-03 11:28:18 +02:00
Alexandre Julliard d5d0738fb9 ntdll: Tweak the file mapping permission checks some more, with tests. 2009-05-19 21:36:05 +02:00
Hans Leidekker 24af6f3e01 server: Add requests to set and retrieve default dacl. 2009-04-21 15:40:26 +02:00
Alexandre Julliard 5316dd011f server: Define a generic context structure instead of using the platform-specific version. 2009-04-08 19:59:23 +02:00
Alexandre Julliard 53929f1906 server: Make all dump function take a prefix string to simplify the tracing code. 2009-04-08 17:31:05 +02:00
Alexandre Julliard 279defe66e server: Verify that the client is using a supported CPU type. 2009-04-03 14:59:12 +02:00
Alexandre Julliard 653d2c4a8d server: Store the type of CPU that the client is running on. 2009-04-03 14:49:10 +02:00
Alexandre Julliard b06a919c3c server: Use the thread entry point field to pass the PEB in the initial thread. 2009-04-03 14:30:34 +02:00
Alexandre Julliard 50171c5cc1 server: Make the new named pipe server fd inherit the I/O completion if it was set before connecting. 2009-03-03 11:59:29 +01:00
Alexandre Julliard 9dd3fe5467 server: Overlapped named pipes are never blocking, even if no APC was specified. 2009-03-02 20:34:07 +01:00
Alexandre Julliard 548e18933b server: Don't return a value from a void function. 2009-01-30 14:04:56 +01:00
Marcus Meissner 3b86f463b5 server: Handle NULL thread in send_hardware_message (Coverity). 2009-01-29 12:45:32 +01:00
Alexandre Julliard 913e792b57 server: Store process/thread affinity as a 64-bit value. 2009-01-19 14:15:51 +01:00
Alexandre Julliard 7f1dc355ec server: Generate padding in request structures from make_requests.
Add compile-time asserts to check that the structures have the expected layout.
2009-01-19 14:01:39 +01:00
Alexandre Julliard 64e6ee5cd8 server: Set stderr in line-buffered mode before doing anything else. 2009-01-16 12:32:26 +01:00
Alexandre Julliard 0ffd26ab17 user32: Use the message_data_t union when receiving a message. 2009-01-15 12:50:59 +01:00
Alexandre Julliard 9f365e7705 server: Replace EXCEPTION_RECORD by an explicit definition in debug events. 2009-01-02 20:12:46 +01:00
Alexandre Julliard bc03f0ee39 server: Simplify the debug_event_t structure. 2009-01-02 20:09:25 +01:00
Alexandre Julliard 9087e5c55f server: Avoid crash on initialization of the thread creation debug event. 2009-01-02 20:00:54 +01:00
Alexandre Julliard 8c8c665a3c server: Reorganize some requests to avoid padding, and make remaining padding explicit. 2008-12-31 15:14:29 +01:00
Alexandre Julliard 0c914e475d server: Make atom_t an unsigned int to avoid padding issues. 2008-12-31 15:09:59 +01:00
Alexandre Julliard fa8643805b server: Make TEB and PEB client_ptr_t instead of void pointers. 2008-12-31 15:09:59 +01:00
Alexandre Julliard c6c335d70e server: Make thread entry points client_ptr_t instead of void pointers. 2008-12-31 15:09:59 +01:00
Alexandre Julliard 2cf868c0be server: Move ldt_copy to the init_process_done request and make it a client_ptr_t. 2008-12-31 15:09:59 +01:00
Alexandre Julliard 1d2d0d5622 server: Send the version with the initial fd so that it can be checked before sending the first request. 2008-12-31 15:09:59 +01:00
Alexandre Julliard 6db201080f server: Make the various async I/O parameters client_ptr_t instead of void pointers. 2008-12-30 21:09:41 +01:00
Alexandre Julliard f507ccbf52 server: Specify the user APC to call only once the system APC has executed. 2008-12-30 20:51:55 +01:00
Alexandre Julliard 7ec95c5bee server: Explicitly specify when an ioctl call needs to be blocking. 2008-12-30 20:37:20 +01:00
Alexandre Julliard f69e62207b server: Make the arguments for CreateRemoteThread client_ptr_t instead of void pointers. 2008-12-30 15:30:11 +01:00
Alexandre Julliard c86ec6445c server: Make a couple of fields smaller in the apc_call_t/apc_result_t structures. 2008-12-30 15:22:45 +01:00
Alexandre Julliard 7560a89022 server: Make padding explicit in the wake_up_reply structure. 2008-12-30 15:15:06 +01:00
Alexandre Julliard 838803ce24 server: Make the address parameters in inter-process virtual memory calls client_ptr_t.
Add explicit padding fields in the corresponding structures.
2008-12-30 15:05:38 +01:00
Alexandre Julliard d066a9a01a server: Make the mapping base address a client_ptr_t instead of a void pointer. 2008-12-30 14:18:21 +01:00
Alexandre Julliard 8e9c156e14 server: Make the address argument for read/write_process_memory a client_ptr_t. 2008-12-30 14:11:58 +01:00
Alexandre Julliard 4261476d13 server: Make the message callback function a client_ptr_t instead of a void pointer. 2008-12-30 14:02:07 +01:00
Alexandre Julliard 9b92a59115 server: Make timer callback function and argument client_ptr_t instead of void pointers. 2008-12-29 17:43:01 +01:00
Alexandre Julliard cc55fd317a server: Make hook procedures client_ptr_t instead of void pointers. 2008-12-29 17:35:35 +01:00
Alexandre Julliard 923310aa54 server: Make the device opaque data a client_ptr_t instead of a void pointer. 2008-12-29 17:28:40 +01:00
Alexandre Julliard 0cd3ff6cbe server: Make the class opaque data a client_ptr_t instead of a void pointer. 2008-12-29 17:24:39 +01:00
Alexandre Julliard 45c991937a server: Make the select cookie a client_ptr_t instead of a void pointer. 2008-12-29 17:21:32 +01:00
Alexandre Julliard 93737d5575 server: Store debugging output strings as client_ptr_t instead of void pointers. 2008-12-29 17:16:46 +01:00
Alexandre Julliard 947976f22c server: Store module names as client_ptr_t instead of void pointers. 2008-12-29 17:10:11 +01:00
Alexandre Julliard f2c4e09e80 server: Make module handles always 64-bit. 2008-12-29 16:47:51 +01:00
Alexandre Julliard cb2788efaf server: Add a module_handle_t type to represent client-side module handles. 2008-12-29 16:41:44 +01:00
Alexandre Julliard 9ed42d2709 server: Get rid of the unused count parameter in fd_queue_async(). 2008-12-26 12:33:31 +01:00
Alexandre Julliard b660aaa9ea server: Use the same field for process and thread handle in the queue_apc request. 2008-12-26 12:33:31 +01:00
Alexandre Julliard a7b3efde0e server: Store the async handle inside the async_data_t structure. 2008-12-26 12:33:21 +01:00
Alexandre Julliard 3cd817b53e server: Make lparam_t always 64-bit. 2008-12-24 19:57:51 +01:00
Alexandre Julliard d1d7b9f3f7 server: Store data for hardware messages in the message extra data. 2008-12-24 19:57:51 +01:00
Alexandre Julliard a6216ab927 server: Make apc_param_t always 64-bit. 2008-12-17 19:43:40 +01:00
Alexandre Julliard 29d9759156 server: Use mem_size_t instead of file_pos_t for memory mapping sizes. 2008-12-17 19:25:49 +01:00
Alexandre Julliard 401f4b717a server: Make mem_size_t always 64-bit. 2008-12-17 19:25:09 +01:00
Alexandre Julliard 992d3cea93 server: Add a mem_size_t type to represent memory sizes and offsets. 2008-12-17 19:24:33 +01:00
Alexandre Julliard f6fa72d770 server: Make async I/O transfer sizes always 32-bit. 2008-12-15 13:30:25 +01:00
Alexandre Julliard dc7f170495 server: Add an apc_param_t type to store APC client-side parameters. 2008-12-15 13:29:38 +01:00
Alexandre Julliard 517b2f624d server: Windows properties are actually generic params, not handles. 2008-12-10 16:21:32 +01:00
Alexandre Julliard 31282b3f63 server: Define an lparam_t type for message parameters that can hold all sorts of data. 2008-12-10 16:01:50 +01:00
Alexandre Julliard 77cf8034e4 server: Don't use size_t for module sizes, they are limited to 2Gb anyway. 2008-12-09 11:50:05 +01:00
Alexandre Julliard db6e45488d server: Get rid of the support for module snapshots, it is no longer needed. 2008-12-09 11:49:37 +01:00
Alexandre Julliard d764107434 server: Make user handles ints instead of pointers. 2008-12-08 16:57:38 +01:00
Alexandre Julliard 0d3d456bd0 server: Make object handles ints instead of pointers. 2008-12-08 16:04:20 +01:00