Commit Graph

1519 Commits

Author SHA1 Message Date
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
Alexandre Julliard
5c37788a01 server: The name len in the get_directory_entry request must be a data_size_t. 2008-12-06 17:29:31 +01:00
Alexandre Julliard
3343c408cb server: Convert the registry key modification time to a win32-style time. 2008-12-06 17:29:01 +01:00
Vincent Povirk
8b49ecc3d8 server: Fix string format warning. 2008-12-05 12:31:45 +01:00
Alexandre Julliard
9434e19965 server: Limit the number of allocated handles before running out of memory. 2008-12-04 16:12:04 +01:00
Jeff Zaroyko
afce615830 wineserver: Don't use O_CREAT and O_EXCL when attempting to open directories. 2008-12-03 09:58:21 +01:00
Francois Gouget
d6abd3835f server: Remove an unneeded cast. 2008-12-01 13:01:40 +01:00
Alexandre Julliard
af8bb2e922 ntdll: Add support for virtual write watches. 2008-11-25 12:07:35 +01:00
Paul Bryan Roberts
6435a5ddab server: Clone file_get_sd() and file_set_fd() for directories. 2008-11-07 12:01:51 +01:00
Paul Bryan Roberts
d87af3dfb2 server: Refactor server side implementation of GetFileSecurity(). 2008-11-07 12:01:24 +01:00
Alexandre Julliard
5e2ed6bfe9 ntdll,server: Fixed access checks for OpenFileMapping and MapViewOfFile. 2008-11-05 20:32:32 +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
Alexandre Julliard
ba71579809 server: Added a request to unlink an object from its namespace. 2008-10-20 16:21:06 +02:00
Alexandre Julliard
7d5f732d30 server: Convert source files to utf-8. 2008-10-18 19:22:26 +02:00
Alexandre Julliard
c928aa67fb server: Follow symlink even with OBJ_OPENLINK unless it is the last element of the path. 2008-10-09 12:43:36 +02:00
Alexandre Julliard
05b4181cac server: Implemented the server side of Get/SetLayeredWindowAttributes. 2008-09-12 15:30:47 +02:00
Alexandre Julliard
b3ec2e5f95 makefiles: Recurse into all directories for install-lib and install-dev too. 2008-08-25 14:27:03 +02:00
H. Verbeet
ff870e0132 server: Calling ResumeThread() on a terminated thread is valid. 2008-07-23 11:21:47 +02:00
Alexandre Julliard
44043a7dd0 server: Better handling of errors when accessing the /proc control files on Solaris. 2008-07-10 20:15:15 +02:00
Alexandre Julliard
0f9484a124 server: Set the visible rect in the set_window_pos request again.
This essentially reverts 2f69329a37.
We really need the visible rect to be set atomically with the rest of
the window position info.
2008-07-03 20:33:12 +02:00
Alexandre Julliard
42e2c99ce2 server: Fix a potential desktop reference leak. 2008-06-26 16:49:23 +02:00
Alexandre Julliard
6536868d07 user32: Make sure that IsWindowVisible returns FALSE for HWND_MESSAGE windows. 2008-06-25 15:49:44 +02:00
Alexandre Julliard
612c010431 user32: Add support for finding HWND_MESSAGE windows in FindWindowEx. 2008-06-25 15:30:22 +02:00
Alexandre Julliard
6b36e2131d server: Also return the top-level message window in the get_desktop_window request. 2008-06-25 14:44:06 +02:00
Alexandre Julliard
81e6edbda9 server: Add support for a top-level message parent window in parallel to the desktop window. 2008-06-25 14:43:39 +02:00
Alexandre Julliard
25e070c0ac server: Use a unicode_str to represent atom names. 2008-06-25 14:03:08 +02:00
Alexandre Julliard
24ec4a6ed7 server: Move the process pipe hangup handling into kill_process.
This ensures that it's also done correctly when a read from the pipe
returns EOF.
2008-06-20 20:42:51 +02:00
Vitaliy Margolen
67daa7f760 wineserver: Add support for long command line options. 2008-05-22 12:41:24 +02:00
Marcus Meissner
a82455e627 server: Remove superflous empty region allocation. 2008-05-14 16:02:32 +02:00
Alexandre Julliard
30c0639b5a server: Crop the invalidate region against the rectangles of all parents. 2008-05-12 12:44:10 +02:00
Alexandre Julliard
bc25119c6e server: Also crop the update region of children when moving a window. 2008-05-12 12:44:10 +02:00
Alexandre Julliard
e02969ddf0 server: When moving/resizing a window crop the update region against the new rectangle of the parents. 2008-05-12 12:41:17 +02:00
Alexandre Julliard
a789375f8b server: Don't touch the users count when a system process switches desktops. 2008-05-05 21:02:34 +02:00
Maarten Lankhorst
3fd1fc7600 server: Make enum_desktop enumerate all the desktops on the window station with the DESKTOP_ENUMERATE right. 2008-04-17 14:32:01 +02:00
Maarten Lankhorst
81069001ea server: Make enum_winstations enumerate all the window stations with WINSTA_ENUMERATE right. 2008-04-17 13:22:50 +02:00
Alexandre Julliard
161160f05a server: Keep a file descriptor open to the config directory to make sure we don't write the registry in the wrong place. 2008-04-17 12:41:34 +02:00
Petr Sumbera
f4575aaa5f server: Workaround for conflict between Wine and Solaris list.h. 2008-04-11 11:14:33 +02:00
Steven Edwards
77aa978d9e server: Remove unneeded semicolon. 2008-04-09 19:58:12 +02:00
Francois Gouget
8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Maarten Lankhorst
70a6495a31 user32: Implement BroadcastSystemMessage. 2008-04-03 12:00:02 +02:00
Vitaliy Margolen
9faf7e3586 winex11drv: Distinguish left and right keys for shift, ctrl and alt. 2008-04-02 11:14:54 +02:00
Alexandre Julliard
f6d871eecf server: impersonation_level should be an int since we store -1 in it.
Make sure we don't check the impersonation level for primary tokens.
2008-03-26 14:38:49 +01:00
Alexandre Julliard
34fe91bf2b user32: Implemented EnumDesktopWindows. 2008-03-19 11:13:46 +01:00
Alexandre Julliard
b2ea572352 server: Fix desktop window coordinates mapping in expose_window. 2008-03-18 12:22:53 +01:00
H. Verbeet
3120c0861c server: Don't drop the SE_GROUP_LOGON_ID attribute. 2008-03-18 11:15:06 +01:00
Maarten Lankhorst
8b164ce484 server: Fix reference leak in enum_desktop. 2008-03-07 11:01:07 +01:00
Alexandre Julliard
e42eaaaf3a server: Invalidate the newly exposed child region on the parent too if it doesn't clip children. 2008-03-03 17:52:18 +01:00
Alexandre Julliard
037afca5a5 server: Unlink remaining children inodes when deleting the parent. 2008-02-28 10:50:57 +01:00
Alexandre Julliard
8ee07d49ae winex11: Re-introduce a separate X11 window for the client area of top-level windows. 2008-02-21 12:53:00 +01:00
Alexandre Julliard
a319263230 server: Don't access the process after send_client_fd as it may have been killed. 2008-02-19 16:51:16 +01:00
Rob Shearman
44581af935 server: Always try return a named pipe server that is listening from find_available_server.
We still fallback to an idle server, but this prevents a client from
connecting to a named pipe server that isn't listening.
2008-02-05 12:19:37 +01:00
Alexandre Julliard
2921f5c156 server: Invalidate the correct region when custom valid rects are specified. 2008-01-22 20:06:35 +01:00
Alexandre Julliard
2f69329a37 server: Add a separate request to set the window visible rect. 2008-01-22 20:01:21 +01:00
Alexandre Julliard
30d84fcd77 user32,server: Set the initial window rectangles to 0,0-0,0. 2008-01-22 10:15:38 +01:00
Alexandre Julliard
3bf12b9aca server: Don't force the process affinity to 1, leave it up to the client. 2008-01-17 13:40:03 +01:00
Alexandre Julliard
b317416b20 server: Take into account the extended registers part of the i386 context. 2008-01-15 11:53:31 +01:00
Marcus Meissner
3bf54c2950 server: Enumerate process in reverse. 2008-01-14 16:24:55 +01:00
Alexandre Julliard
c3b0addde6 Spelling fixes in French man pages. 2008-01-11 12:45:50 +01:00
Jonathan Ernst
3b4011eec7 server: Updated French man page. 2008-01-11 12:28:01 +01:00
Marcus Meissner
368d935350 server: Remove superflous check (value->data is dereferenced before check). 2008-01-10 12:10:52 +01:00
Alexandre Julliard
b647ded03d server: Output incorrectly-terminated strings in hex format. 2008-01-07 21:17:10 +01:00
Alexandre Julliard
fb9955da8c server: Make the registry parser more tolerant about malformed hex values. 2008-01-07 21:17:10 +01:00
Alexandre Julliard
12717397b7 server: Accept utf-8 data as input in registry files. 2008-01-07 21:17:10 +01:00
Alexandre Julliard
2f1e73cb35 server: Wait for the expiration of all the process SIGKILL timers before exiting the server. 2008-01-07 17:19:05 +01:00
Jonathan Ernst
4cf157d20b server: New French man page for wineserver. 2008-01-04 12:51:09 +01:00
Alexandre Julliard
af268c6211 server: Redesign the server shutdown processing.
System processes are now killed only after the server persistence
delay has expired. New processes are not allowed to start during
shutdown.
2008-01-03 11:40:03 +01:00
Alexandre Julliard
307cb09a62 server: Use exponential backoff when waiting for wineserver -k to complete. 2008-01-02 16:13:08 +01:00
Dmitry Timoshkov
e735e199ad user32: Reimplement IsHungAppWindow. 2007-12-28 11:43:57 +01:00
Rob Shearman
0b0c75ed19 server: Initialise the apc_call_t union in async_set_result to all zero to avoid a Valgrind warning. 2007-12-27 15:12:07 +01:00
Alexandre Julliard
11750af329 server: Don't give out full access to the system process event. 2007-12-20 16:43:31 +01:00
Alexandre Julliard
ffbeae78f7 server: Don't count system processes as users of a desktop. 2007-12-20 16:43:14 +01:00
Alexandre Julliard
3b244b95b2 server: Use SIGQUIT instead of SIGTERM to terminate a thread.
This allows keeping the default SIGTERM behavior of killing the whole
process.
2007-12-20 12:19:35 +01:00
Alexandre Julliard
c69468ddcc server: Fix possible NULL dereference. 2007-12-18 19:44:00 +01:00
Andrey Turkin
3afbee5218 server: Store I/O completion information in async structure.
This is to allow completions to be sent on handle close. Also this can
be helpful for AcceptEx/TransmitFile implementation.
2007-12-18 14:25:43 +01:00
Kirill K. Smirnov
6e76cc7622 server: Properly notify renderer while activating another screen buffer. 2007-12-18 13:30:46 +01:00
Andrey Turkin
f1dcf4bf3a server: I/O completion ports can only be used with overlapped I/O. 2007-12-17 11:49:32 +01:00
Marcus Meissner
edd3f264d9 server: Removed superflous async->queue NULL tests. 2007-12-08 19:54:35 +01:00
Alexandre Julliard
d65c667817 server: Fix incorrect use of size_t instead of data_size_t. 2007-12-07 18:42:48 +01:00
Alexandre Julliard
8382eb01b2 server: Return correct object types in the get_directory_entry request. 2007-12-05 18:16:42 +01:00
Alexandre Julliard
a5e38b332d server: Partial implementation of NtQueryDirectoryObject. 2007-12-05 16:57:41 +01:00
Alexandre Julliard
d30b5742ed server: Implemented EnumWindowStations and EnumDesktops. 2007-12-05 16:45:32 +01:00
Dmitry Timoshkov
f2213dd23f server: Make fd_poll_event static. 2007-12-04 18:40:51 +01:00
Alexandre Julliard
942a70dc64 server: When merging mouse messages ignore the window if it isn't set. 2007-11-27 16:43:00 +01:00
Rob Shearman
ec8a27f573 server: Fix incorrect translation of the World SID to and from Unix file permissions.
The World SID now maps to user|group|other instead of just other.
2007-11-21 12:03:29 +01:00
Rob Shearman
6753fdc3b7 server: Fix a typo in the enumeration of the ACE's in sd_to_mode.
This caused only the first ACE to be examined, causing permissions to 
always be set to ----???---.
2007-11-20 14:29:23 +01:00
Rob Shearman
bf2a35b78d server: Change the get_dll_info server request to allow retrieving the image file name of a process.
Implement NtQueryInformationProcess(ProcessImageFileName).
2007-11-20 14:29:09 +01:00
Andrey Turkin
7a9210fa85 server: Pass Information field from async I/O APCs. 2007-11-15 14:24:50 +01:00
Andrey Turkin
27cb7c7274 ws2_32: Make certain winsock functions generate i/o completion messages. 2007-11-15 14:23:23 +01:00
Andrey Turkin
c702a91a3c server: Allow async i/o operations to send completion messages. 2007-11-15 14:20:29 +01:00
Dmitry Timoshkov
b4227d7207 server: Make timer id allocation algorithm conform to the Windows one. 2007-11-13 21:45:09 +01:00
Rob Shearman
6d11348963 server: In set_user_object_info len is in bytes, not WCHARs. 2007-11-12 12:55:06 +01:00
Alexandre Julliard
93938ebe5e server: Don't drop mouse messages that should go to a different thread input.
Instead requeue them into the proper destination queue. Reported by
Ulrich Czekalla.
2007-11-08 13:53:26 +01:00
Rob Shearman
92db6d2c2f server: Don't do access checks on the security descriptors of newly created objects. 2007-11-06 14:52:21 +01:00
Alexandre Julliard
a54a990b3b server: Allow to specify the class name instead of the atom to find a window. 2007-11-02 15:26:49 +01:00
Alexandre Julliard
1fc461f98b server: Allow to specify the class name instead of the atom to create a window. 2007-11-02 15:16:25 +01:00
Alexandre Julliard
b9b940fab9 server: Support using a name to destroy a window class too. 2007-11-01 15:28:30 +01:00
Alexandre Julliard
0762d98f7c server: Allow to send a name instead of an atom when creating a window class. 2007-11-01 13:02:01 +01:00
Rob Shearman
9980f478e2 server: Make sure to always initialise req_sd.owner_len and req_sd.group_len in the handler for the get_security_object call. 2007-11-01 12:51:12 +01:00
Alexandre Julliard
c183a9e6e7 server: Added support for HWND_TOPMOST and HWND_NOTOPMOST. 2007-10-31 18:12:56 +01:00
Alexandre Julliard
b843534357 server: Fix get_next/prev_window behavior for unlinked windows. 2007-10-31 18:08:19 +01:00
Alexandre Julliard
917f288f1b server: Also return the new extended style in the set_window_pos request. 2007-10-31 17:51:05 +01:00
Alexandre Julliard
94c976c97a server: Add the generated files missing from the last commit. 2007-10-30 15:32:40 +01:00
Rob Shearman
5f5df83281 server: Pass the security descriptor into create_file, if one is specified, and set the initial mode for the file appropriately. 2007-10-30 14:18:27 +01:00
Rob Shearman
f98556c119 server: Add the name length to the object_attributes structure so that other variable length data can be present after object_attributes. 2007-10-30 14:18:05 +01:00
Alexandre Julliard
8268ad551a server: Remove failed ioctls from the queue as soon as the result is set. 2007-10-30 11:30:58 +01:00
Rob Shearman
e51f8490f2 server: Ignore ACEs with the INHERIT_ONLY_ACE flag set during access checks. 2007-10-26 12:46:30 +02:00
Rob Shearman
23df453d38 server: Make create_mapping use struct object_attributes and set the security descriptor of file mapping objects. 2007-10-26 12:45:29 +02:00
Rob Shearman
1f86321964 server: Make create_mutex use struct object_attributes and set the security descriptor of mutex objects. 2007-10-26 12:44:51 +02:00
Rob Shearman
b0e5fb4384 server: Make create_semaphore use struct object_attributes and set the security descriptor of semaphore objects. 2007-10-26 12:44:26 +02:00
Rob Shearman
dd9e392796 server: Use the security descriptor passed in when creating events. 2007-10-25 12:47:22 +02:00
Rob Shearman
8d6093e624 server: Fix file_set_sd to handle NULL DACLs.
These mean that the file should have full permissions for everyone.
2007-10-22 12:36:08 +02:00
Lionel Debroux
e122f81337 server: Remove redundant NULL checks before free (found by Smatch). 2007-10-22 12:36:08 +02:00
Lionel Debroux
2f89fe7b37 server: Remove redundant NULL checks before free (found by Smatch). 2007-10-22 12:36:08 +02:00
Alexandre Julliard
a771c53e27 server: Don't expose the parent window in areas that are now part of the child visible region. 2007-10-17 17:43:06 +02:00
Alexandre Julliard
952c82c271 server: Avoid refreshing areas of a window that have already been copied by the X server. 2007-10-17 17:28:04 +02:00
Rob Shearman
3f4c267028 server: Owner and group SIDs in security descriptors are optional in many server calls.
So print "<not present>" when they aren't provided instead of "<invalid sid>".
2007-10-16 13:19:04 +02:00
Rob Shearman
12e44bf299 server: Fix token_access_check to allow full access to security descriptors with present but NULL DACLs. 2007-10-16 13:17:22 +02:00
Alexandre Julliard
235532ce28 server: Use the file_pos_t type for file sizes and offsets in the protocol structures. 2007-10-10 14:06:25 +02:00
Karl Relton
e764e61369 wineserver: Allow already peeked messages to merge. 2007-10-10 12:37:01 +02:00
Rob Shearman
f5070b0511 server: Only call fchmod in file_set_fd if the mode actually changed. 2007-10-09 11:42:33 +02:00
Rob Shearman
f43d8b65c1 server: Remove an unnecessary check from file_set_fd. 2007-10-09 11:42:31 +02:00
Rob Shearman
cb124c9b12 server: Add primitive support for setting and getting the security descriptor of files based on their Unix permissions. 2007-10-04 12:30:52 +02:00
Rob Shearman
c1707d8938 server: Add get_sd and set_sd object operations to allow the security descriptor to be stored somewhere other than server memory, such as on disk. 2007-10-04 12:30:52 +02:00
Rob Shearman
8184bcc91a server: Add a simple mapping from Unix uids to NT SIDs. 2007-10-04 12:30:52 +02:00
Rob Shearman
45b6706a32 server: Use ACL_REVISION in create_default_dacl instead of MAX_ACL_REVISION since we don't use any features from later ACL revisions. 2007-10-03 11:16:53 +02:00
Rob Shearman
5356bfde2c server: Add a new get_security_object call for getting the security descriptor of an object.
Use it to implement NtQuerySecurityObject.
2007-10-03 11:16:45 +02:00
Rob Shearman
5af809abfd server: Move set_security_object to handle.c and set_object_sd to object.c.
These both don't operate on tokens so token.c is not the right place for 
them to be implemented.
2007-10-03 11:04:43 +02:00
Alexandre Julliard
24001e8ddc server: Add a default access mapping function for files, and use it for devices too. 2007-10-02 14:20:15 +02:00
Andrey Turkin
d1a8155882 server: Allow completion object to be attached to an fd object. 2007-09-28 13:17:18 +02:00
Michael Stefaniuc
238043784a server: Include stdarg.h in completion.c. Needed for older gcc versions. 2007-09-27 11:58:44 +02:00
Andrey Turkin
477582401b server: Implement server-side completion queues and operations on them. 2007-09-26 13:56:43 +02:00
Alexandre Julliard
5874b854ee server: Clip the visible region of a window to the desktop window. 2007-09-20 19:38:50 +02:00
Rob Shearman
3f431a0646 server: Add get_token_statistics server call and use it to implement the TokenStatistics and TokenType levels for NtQueryInformationToken. 2007-09-14 14:43:46 +02:00
Dmitry Timoshkov
c75edd04c2 server: Map ETXTBSY to STATUS_SHARING_VIOLATION. 2007-09-11 11:49:43 +02:00
Dmitry Timoshkov
69025bafe7 server: Print a more informative message when file_set_error or sock_get_error can't map errno to a status code. 2007-09-10 15:29:46 +02:00
Francois Gouget
b6aa247093 server: Fix the crashed process exit code when the debugger exits without detaching. Add a conformance test. 2007-08-31 12:08:58 +02:00
Alexandre Julliard
9c18d92f36 server: Detaching from a process needs to continue all the pending events. 2007-08-30 19:47:43 +02:00
Trent Waddington
fc635fa827 server: Handle existing timer replacement when no window handle specified. 2007-08-30 19:08:16 +02:00
Alexandre Julliard
2896540a34 server: Set the queue mask directly in get_message to avoid an extra server call. 2007-08-29 18:13:13 +02:00
Alexandre Julliard
b4edb573fd server: Message results should be stored as longs, not ints. 2007-08-29 18:01:10 +02:00
Alexandre Julliard
8765a0da83 ntdll: Fixed file system name comparison on *BSD. 2007-08-29 12:02:13 +02:00
Alexandre Julliard
df13cee288 server: Store a separate flag for windows that need to be erased in WM_PAINT.
This avoids the need to invalidate the window after WM_ERASEBKGND.
2007-08-27 16:41:08 +02:00
Alexandre Julliard
5bd497f3ca server: Moving a window should only expose the immediate parent. 2007-08-27 15:21:19 +02:00
Kirill K. Smirnov
f3e13174c7 wineconsole: Implement GetConsoleWindow. 2007-08-24 12:03:22 +02:00
Alexandre Julliard
149cbb1b60 server: Validate the parents every time we paint a window instead of only on RDW_UPDATENOW. 2007-08-23 20:22:30 +02:00
Tijl Coosemans
0c4f152ec7 server: Use thr_kill2 syscall to signal threads on FreeBSD. 2007-08-23 20:19:09 +02:00
Alexandre Julliard
04a9f93f62 user32: Thread-local hooks need a module if they don't belong to the current process. 2007-08-22 12:19:00 +02:00
Alexandre Julliard
c3624439c8 server: Fixed handling of a relative start time for a timer. 2007-08-09 17:16:26 +02:00
Tijl Coosemans
60833da9f2 loader: Use thr_self syscall to get thread id on FreeBSD. 2007-08-09 15:01:04 +02:00
Peter Dons Tychsen
ec4d8903ef server: Added the install driver privilege to the default user. 2007-07-31 20:32:40 +02:00
Matt Jones
6763742090 server: Only commit SetThreadPriority if new priority is correct. 2007-07-25 13:59:17 +02:00
Vitaliy Margolen
dcdf7c55d6 server: Treat desktop as a top-level window. 2007-07-23 11:53:06 +02:00