Commit graph

1548 commits

Author SHA1 Message Date
Dmitry Timoshkov
4b058e6e79 server: OpenMutex should perform a real access check instead of validating access flags.
This reverts 7b63fa658a.
2012-03-12 16:37:24 +01:00
Alexandre Julliard
9c6466ac34 server: Create some kernel notification events. 2012-03-12 10:44:02 +01:00
Vitaliy Margolen
d4e78d61e1 server: Add sessions directory and 0 session symlink. 2012-02-17 18:06:52 +01:00
Alexandre Julliard
36c76dcc24 winex11: Update only the key state on KeymapNotify without sending fake key events. 2012-02-02 17:19:34 +01:00
Dmitry Timoshkov
29b91206a8 server: Store correct protection for an image mapping. 2012-01-24 18:10:31 +01:00
Alexandre Julliard
6d2063f41b ntdll: Set the thread exit code when a thread is killed inside a wait. 2012-01-16 14:04:39 +01:00
Alexandre Julliard
02442b52a4 user32: Return the cursor position in send_hardware_message and use it to update the driver's position. 2012-01-09 12:14:36 +01:00
Francois Gouget
c7cb3e6cb2 configure: Use errno.h instead of the non-standard sys/errno.h header. 2011-12-15 17:46:38 +01:00
Alexandre Julliard
5a30e31806 server: Optionally return the global key state when queueing a hardware message. 2011-12-15 14:46:53 +01:00
Alexandre Julliard
3acc2068a0 server: Cope with stdio file descriptors being closed on startup. 2011-11-15 11:39:42 +01:00
Bernhard Loos
507d929051 ntoskrnl: Correctly implement PsGetCurrentThread/ProcessId. 2011-10-28 13:04:00 +02:00
Bernhard Loos
c368df4865 server: PIPE_TYPE_BYTE | PIPE_READMODE_MESSAGE is invalid for named pipes. 2011-10-13 19:57:19 +02:00
Alexander Morozov
d0451f6b3f server: Fix overlapping shared and exclusive locks support. 2011-10-12 17:10:54 +02:00
Bernhard Loos
e7ec00d22c server: If a debugger is attached to a process, child processes shouldn't get debugged. 2011-10-10 13:41:24 +02:00
Charles Davis
a51aaf898c server: Use syscall(2) instead of inline assembly on Mac OS, too. 2011-10-10 13:29:59 +02:00
Bernhard Loos
07b681e04a ntdll: Implement the NamedPipeConfiguration value for the FilePipeLocalInformation class of NtQueryInformationFile. 2011-10-08 19:56:08 +02:00
Bernhard Loos
9034e694a3 server: Correctly implement permission checking for named pipes. 2011-10-08 19:55:35 +02:00
Bernhard Loos
e4c2a6d1cd server: It's possible to call NtQueryInformationFile on a pipe if it was opened with access 0. 2011-10-08 19:55:19 +02:00
Bernhard Loos
bded698462 server: Sharing 0 is not allowed for named pipes. 2011-09-27 16:54:00 +02:00
Bernhard Loos
5098b13177 server: Only the sharing parameter of two instances of the same pipe have to match. 2011-09-27 16:54:00 +02:00
Bernhard Loos
039bacb0c9 server: Store sharing state for named pipes. 2011-09-27 16:54:00 +02:00
Bernhard Loos
527a985a3d server: Correct mapping of mutex access rights. 2011-09-23 13:05:37 +02:00
Bernhard Loos
0d36c27e3b server: ReleaseMutex doesn't need any access rights. 2011-09-23 13:05:33 +02:00
Bernhard Loos
7b63fa658a server: Certain access flags are illegal for OpenMutex. 2011-09-23 13:05:31 +02:00
Marcus Meissner
df92979b39 server: Removed NULL check after usage (Coverity). 2011-09-23 12:38:54 +02:00
Henri Verbeet
e7728c4132 server: Try writing to /proc/<pid>/mem in write_process_memory(). 2011-09-22 09:36:29 +02:00
Michael Stefaniuc
835171c2e0 server: Remove casts to the type of the casted expression. 2011-09-21 14:41:01 +02:00
Nikolay Sivov
573db9ef63 ntdll: While requesting TokenGroups calculate required user buffer size in server. 2011-08-23 16:53:54 +02:00
Francois Gouget
ff8f6e8662 user32: When destroying a window, preserve the first WM_QUIT message that was posted to it. 2011-08-23 11:50:59 +02:00
Nikolay Sivov
7381858e98 include: Fix definition name. 2011-08-03 14:15:48 +02:00
Bernhard Loos
bf3c2a06f5 server: Check for STATUS_OBJECT_TYPE_MISMATCH before STATUS_ACCESS_DENIED in get_handle_obj. 2011-07-20 19:23:04 +02:00
Hans Leidekker
3321c45038 server: Include groups in file mode calculation if the security descriptor matches the current user. 2011-07-19 14:04:30 +02:00
Grazvydas Ignotas
2cc56f379c server: Set debug enable bits briefly to commit the addresses to kernel. 2011-07-18 16:23:30 +02:00
Grazvydas Ignotas
fa179b1c26 server: Set RW and LEN bits of DR7 before setting DR0-DR3. 2011-07-18 16:23:30 +02:00
Vincent Povirk
79556aeab7 server: Implement QS_HOTKEY. 2011-07-06 19:43:26 +02:00
André Hentschel
c7becc3015 server: Remove dead initializations (clang). 2011-07-06 11:20:37 +02:00
Alexandre Julliard
b00d60f125 server: Only check read/write-specific access bits for file sharing access checks. 2011-07-01 18:33:33 +02:00
Marcus Meissner
67320c448b server: Do not promote lparam to signed int (Coverity). 2011-06-28 11:57:51 -05:00
Alexandre Julliard
6b0d9ff1cd server: Allow setting a zero-size clip rectangle. 2011-06-21 15:04:24 +02:00
Vincent Povirk
cc0ea69867 server: Post WM_HOTKEY when a hotkey is pressed. 2011-06-21 14:51:14 +02:00
Vincent Povirk
4c83138f72 server: Implement RegisterHotKey/UnregisterHotKey. 2011-06-21 14:51:08 +02:00
Alexandre Julliard
f6b0ce3c44 server: Don't queue low-level hooks to a hung queue. 2011-06-17 11:54:43 +02:00
Alexandre Julliard
457a847849 server: Only avoid running low-level hooks in processes currently suspended by a debugger. 2011-06-17 11:54:29 +02:00
Alexandre Julliard
a0c0878805 server: Allow creating a process without any parent or startup info. 2011-06-16 22:45:45 +02:00
Marcus Meissner
27c9a61e15 server: Remove superflous NULL check (Coverity). 2011-06-14 15:27:13 +02:00
Alexandre Julliard
be23f5a7a6 server: Grab the current pointer to avoid referencing it after it could become invalid. 2011-05-23 19:51:00 +02:00
Alexandre Julliard
055c883ee0 server: Fix the status code for get/set_thread_context on a terminated thread. 2011-05-06 14:23:25 +02:00
Alexandre Julliard
5dc9c73c31 server: Check for the need to suspend a thread again once it leaves an exception or suspend block. 2011-05-06 12:49:57 +02:00
Alexandre Julliard
90982480f0 server: Add support for suspending the thread directly in the get/set_thread_context requests. 2011-05-06 12:40:52 +02:00
Alexandre Julliard
45075b2f9c server: Add separate requests for getting/setting the thread context during suspend. 2011-05-06 12:25:34 +02:00