Jacek Caban
d13a44e4aa
user32: Don't use window's parent as an owner if WS_CHILD style is not set.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:01 +09:00
Alexandre Julliard
3ea7f7d2f4
server: Set the security descriptor at object creation.time.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:07:30 +09:00
Alexandre Julliard
10a38ef056
server: Require a directory as root to open an object with a name.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:07:30 +09:00
Alexandre Julliard
ff9d90bbb0
server: Use a standard object for object attribute roots instead of a directory.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:07:30 +09:00
Michael Müller
18a8636ebe
server: Add support for Win8 pseudo handles.
...
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:15:54 +09:00
Alexandre Julliard
b548f8c4a7
server: Remove some no longer used directory functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:36:17 +09:00
Alexandre Julliard
3cde722e3a
server: Implement object type for registry keys.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:36:17 +09:00
Alexandre Julliard
eb6621081a
server: Avoid redundant open call when looking for an object type.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:36:17 +09:00
Alexandre Julliard
6ccefdb7c5
server: Support opening file objects from any root, not only directories.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:36:17 +09:00
Alexandre Julliard
39e60dc680
server: Support opening objects from any root, not only directories.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:36:17 +09:00
Alexandre Julliard
7ad32cf56a
server: Allow lookup_name to distinguish the case of an empty path.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:36:16 +09:00
Sebastian Lackner
79ada31714
server: Fix an invalid memory access in subtract_overlapping (Valgrind).
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 19:42:41 +09:00
Sebastian Lackner
f7915d4e43
server: Fix memory leak of object name structure.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 22:14:48 +09:00
Alexandre Julliard
7646df9f4b
server: Use the generic named object functions for named pipes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 20:03:32 +09:00
Alexandre Julliard
4e380b9e2b
server: Use the generic named object functions for mailslots.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 20:03:32 +09:00
Alexandre Julliard
7a5b14d456
server: Add a function to open a named object inside any parent, not only directories.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 16:55:00 +09:00
Alexandre Julliard
0458a7d0e3
server: Use the lookup_name operation when creating a named object.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 14:24:15 +09:00
Alexandre Julliard
e2ccc978a3
server: Implement the lookup_name operation for window stations.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 14:10:39 +09:00
Alexandre Julliard
bfd0dff215
server: Add a function to lookup an object by name inside any parent, not only directories.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 14:10:39 +09:00
Alexandre Julliard
b21a324070
server: Use the link_name operation to create named objects.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-05 00:20:01 +09:00
Alexandre Julliard
f55db7882d
server: Add link_name and unlink_name object operations.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-04 21:07:19 +09:00
Alexandre Julliard
a69d7b29e3
server: Don't return an error if the created window station already exists.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-02 21:47:56 +09:00
Alexandre Julliard
bc0bf9e505
server: Implement serial port read interval timeouts.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-02 16:07:30 +09:00
Alexandre Julliard
34d5994953
user32: Add some tests for window station and desktop object names.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 17:53:35 +09:00
Alexandre Julliard
37503be654
server: Fix checks for a valid directory in object attributes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 14:57:37 +09:00
Alexandre Julliard
008f14f03f
server: Directly return a structure in get_req_unicode_str().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:12 +09:00
Alexandre Julliard
ed268bbf91
server: Use a common helper function to implement open object calls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:12 +09:00
Alexandre Julliard
b3064d748b
server: Implement NtOpenJobObject.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 16:38:53 +09:00
Alexandre Julliard
b47bd4555c
server: Fix initialization of mailslot objects that don't have a name.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 22:33:34 +09:00
Piotr Caban
cefdbd59b7
server: Avoid infinite loop when we're out of timers in set_win_timer server call.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:26:59 +09:00
Anton Baskanov
9220556560
user32: Correctly update caret state in the server in SetCaretPos.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-25 18:27:31 +09:00
Sebastian Lackner
9dab25c124
server: Avoid invalid memory access if creation of namespace fails in create_directory (Coverity).
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-25 16:14:38 +09:00
Sebastian Lackner
a52a117f80
server: Add missing check for objattr variable in load_registry wineserver call (Coverity).
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-25 16:14:36 +09:00
Sebastian Lackner
df39830846
server: Fix invalid memory accesss caused by destroying winstation before desktop.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-22 16:40:30 +09:00
Alexandre Julliard
d15f47412e
server: Always print the full path of objects when dumping them.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-22 01:26:15 +09:00
Alex Henrie
df59b04057
server: Fix duplicate, incorrect comment describing is_fd_signaled.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-22 01:26:15 +09:00
Alexandre Julliard
fcc977c139
server: Store the desktop object names inside their window station.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 22:40:58 +09:00
Alexandre Julliard
546289dc59
server: Create window stations objects in a standard directory.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 22:02:03 +09:00
Alexandre Julliard
cd6e9c38e4
server: Fix constraints on the length of NT object names.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 20:48:08 +09:00
Alexandre Julliard
b99d1525de
server: Pass full object attributes in the load_registry request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 20:48:07 +09:00
Alexandre Julliard
d01deff9cf
server: Pass full object attributes in the create_key request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 20:48:07 +09:00
Alexandre Julliard
c4843d4a45
server: Add a helper function to skip the object attributes structure.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 20:48:07 +09:00
Alexandre Julliard
1eb69be36f
server: Pass full object attributes in the create_completion request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-18 00:17:30 +09:00
Alexandre Julliard
426c4a2f08
server: Pass full object attributes in the create_symlink request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-18 00:17:30 +09:00
Alexandre Julliard
82800f513c
server: Pass full object attributes in the create_directory request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-18 00:17:30 +09:00
Alexandre Julliard
14825a7a55
server: Pass full object attributes in the create_mailslot request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-18 00:17:30 +09:00
Alexandre Julliard
b5245a15a8
server: Pass full object attributes in the create_timer request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-18 00:17:30 +09:00
Alexandre Julliard
4c763a41ee
server: Allow the object attributes to be omitted in requests.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-16 00:05:57 +09:00
Alexandre Julliard
9504e2addf
server: Add a helper function to validate and return object attributes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-16 00:05:57 +09:00
Alexandre Julliard
7350682aa6
server: Store the attributes in the object_attributes structure.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-16 00:05:57 +09:00
Hugh McMaster
8ac323f61b
wineconsole: Send the largest console window size information to the server.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 17:07:34 +01:00
Sebastian Lackner
08706ef357
server: Implement wineserver call for SystemHandleInformation.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-29 17:51:59 +01:00
Sebastian Lackner
25b0a4981b
server: Fix assignment of primary_group in token_duplicate.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:17:03 +01:00
Sebastian Lackner
1980834c7d
ntdll: ProcessDebugFlags should return debug_children flag instead of !debugger_present.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:14:43 +01:00
Sebastian Lackner
19a3f6b5cb
user32: Make sure explorer.exe process is spawned for the correct desktop.
...
If an invalid combination of winstation/desktop is active for the
current process, the handle inheritance doesn't work, and no desktop is
created.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 13:22:55 +09:00
Sebastian Lackner
6bfa3896fc
server: Check winstation visibility in server to avoid race-conditions.
...
GetDesktopWindow incorrectly assumes, that the process window station is
still the same one, which was used earlier when changing the desktop.
By moving the visibility check to wineserver we can also avoid
wineserver roundtrip for invisible desktops.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 13:18:00 +09:00
Sebastian Lackner
ace9d329e9
server: Fix crash when calling SetNamedPipeHandleState on partially closed pipe.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:16 +09:00
Sebastian Lackner
ee02530bc4
server: Fix crash when calling GetNamedPipeHandleState on partially closed pipe.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:16 +09:00
Qian Hong
499f0454c9
server: Remove out of date comment.
...
Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 22:19:28 +09:00
Sebastian Lackner
96f4f53937
server: Do not require SeBackupPrivilege in load_registry and unload_registry.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:26:22 +09:00
Jacek Caban
731d09fa9d
server: Store all 32 bits of value type.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-12 23:42:26 +09:00
Sebastian Lackner
55c4a108d7
server: Only send WM_WINE_CLIPCURSOR for forced clip resets.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-12 22:17:02 +09:00
Jacek Caban
5eb3035374
ntdll: Added KeyCachedInformation key info class implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-12 22:17:02 +09:00
Jacek Caban
3d5db6bdf5
server: Return KeyFullInformation maximal string lengths in bytes.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-12 11:32:49 +09:00
Sebastian Lackner
4857f95803
server: Return STATUS_CANNOT_DELETE when trying to open readonly file with FILE_DELETE_ON_CLOSE.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:22 +09:00
Jacek Caban
e0d51609a1
server: Notify parent key when subkey is created.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 23:16:44 +09:00
Jacek Caban
deba2faf60
server: Reset event in set_registry_notification.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 23:16:44 +09:00
Jacek Caban
7d66a01fc2
ntdll: Return STATUS_PENDING in NtNotifyChangeKey if async notify is performed.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 23:16:44 +09:00
Sebastian Lackner
41f7f19cb5
server: Wake up APC if we fail to allocate a handle in target process.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-05 20:22:38 +09:00
Hugh McMaster
b61badcc90
server: Add console font information.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:24 +09:00
Sebastian Lackner
52f9acedd2
server: Clear last error when creating object without name.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:22 +09:00
Sebastian Lackner
9e66d84585
server: Add a missing grab_object in cgwe_enum.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 16:39:07 +09:00
Alexandre Julliard
da340169d6
makefiles: Generate rules for installing programs.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:06 +09:00
Sebastian Lackner
408b7ea6b3
server: Remove unused device manager argument from set_irp_result call.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 11:02:32 +09:00
Sebastian Lackner
23cdc7e529
server: Unconditionally close APC handle in get_apc_result call.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 10:59:44 +09:00
Sebastian Lackner
51d17bfd2f
server: Remove a wrong release_object in write_console_input.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 10:58:45 +09:00
Alexandre Julliard
a1515c68d4
makefiles: Automatically add RPATH support for programs that use libwine.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 20:45:19 +09:00
Alexandre Julliard
7626728b56
makefiles: Generate rules for building tool binaries.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-27 14:47:27 +09:00
Francois Gouget
67c2e06fcd
ntdll: Work around a conflict between Wine and Solaris list.h.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
2015-10-05 22:27:16 +09:00
Erich E. Hoover
dfa73ca626
server: Return STATUS_CANT_WAIT/WSAEWOULDBLOCK for non-overlapped SIO_ADDRESS_LIST_CHANGE requests on non-blocking sockets.
...
Signed-off-by: Erich E. Hoover <erich.e.hoover@wine-staging.com>
2015-10-02 18:11:32 +09:00
Sebastian Lackner
0425c0eb95
server: Always switch back to server dir when open_fd returns.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-01 16:26:26 +09:00
Gerald Pfeifer
509d0f06ce
server: Replace 1 << 31 by 1u << 31 to avoid shift overflow in in get_active_hooks.
2015-09-07 15:04:01 +09:00
Sebastian Lackner
c948e84189
server: Properly inherit debug_children flag when creating new process.
2015-08-24 18:41:34 +09:00
Sebastian Lackner
ec851647e2
server: Implement open_file_object for rootdir pointing to file object.
2015-08-21 14:39:21 +09:00
Sebastian Lackner
1f2a443cb4
server: Implement support for FileLinkInformation class in NtSetInformationFile.
2015-08-21 14:36:02 +09:00
Dmitry Timoshkov
3bed65b5a9
server: For querying thread information demand THREAD_QUERY_LIMITED_INFORMATION access.
2015-08-21 14:35:04 +09:00
Dmitry Timoshkov
1d2241eca3
server: For querying process information demand PROCESS_QUERY_LIMITED_INFORMATION access.
2015-08-21 14:35:01 +09:00
Dmitry Timoshkov
93e8bea2bd
server: Add implicit THREAD_[QUERY|SET]_LIMITED_INFORMATION access.
2015-08-21 14:34:59 +09:00
Dmitry Timoshkov
c19091272d
server: Add implicit PROCESS_[QUERY|SET]_LIMITED_INFORMATION access.
2015-08-21 14:34:55 +09:00
Sebastian Lackner
857d436784
ntdll: Implement FileRenameInformation support.
2015-08-20 18:34:13 +09:00
Sebastian Lackner
453d71b9f7
server: Avoid invalid memory access when create_console_input fails.
2015-08-19 20:19:58 +09:00
Sebastian Lackner
0f133aedd5
server: Avoid invalid memory accesses when create_console_output fails.
2015-08-19 20:19:58 +09:00
Sebastian Lackner
46cba58a98
server: Initialize table->handles immediately after creation of atom table.
...
When the malloc afterwards fails, release_object() is called.
atom_table_destroy() assumes that table->handles was properly initialized.
2015-08-19 20:19:58 +09:00
Erich E. Hoover
6955a298f4
server: Do not permit FileDispositionInformation to delete a file without write access.
2015-08-19 20:19:58 +09:00
Sebastian Lackner
0fabfe7d6b
server: Add support for setting file disposition information.
...
Based on a patch by Dmitry Timoshkov.
2015-08-19 20:19:57 +09:00
Dmitry Timoshkov
9124cb28f9
server: Keep a pointer to parent's fd unix_name in the closed_fd structure.
2015-08-19 20:19:57 +09:00
Alexandre Julliard
1baf01fc24
server: Store modification time as a key comment to avoid losing precision.
2015-08-18 18:11:32 +09:00
Sebastian Lackner
a8c6fe39af
server: Avoid leaking uninitialized stack memory to applications.
...
Without the memset() there is a risk of leaking uninitialized stack memory in the
get_next_device_request wineserver call.
2015-08-17 14:48:20 +09:00
Sebastian Lackner
b279901546
server: Initialize irp->thread immediately after creation of irp_call object.
2015-08-17 14:48:08 +09:00
Sebastian Lackner
905bf79337
server: Store correct entry point for first thread.
2015-07-30 11:37:15 +02:00
Sebastian Lackner
845164004b
ntdll: Implement ThreadQuerySetWin32StartAddress info class in NtQueryInformationThread.
2015-07-29 21:44:03 +02:00
Sebastian Lackner
6ab494ceb5
ntdll: Implement ThreadQuerySetWin32StartAddress info class in NtSetInformationThread.
2015-07-29 21:44:03 +02:00
Sebastian Lackner
6156cf3134
server: Use a separate wineserver call to fetch thread times.
2015-07-29 21:44:03 +02:00
Hans Leidekker
e0206d9f8a
server: Make returning used privileges optional in token_access_check.
2015-07-17 20:19:36 +09:00
Andrew Cook
453458f294
server: Implement JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE.
2015-07-17 14:28:59 +09:00
Sebastian Lackner
3db6d1acaf
server: Avoid sending unexpected wakeup with uninitialized cookie value.
...
The code for SELECT_SIGNAL_AND_WAIT in select_on() calls signal_object(). This might
wake up the same thread which is currently in the wineserver call. The value for
current->wait->cookie is initialized at the end of the function, and not defined yet
at this point.
2015-07-15 16:29:11 +09:00
Alexandre Julliard
9cef52ffd6
server: Don't associate a thread to the MJ_CREATE and MJ_CLOSE requests.
2015-07-13 15:10:30 +09:00
Sebastian Lackner
8723d3455e
server: Add fallback to desktop keystate in get_key_state wineserver call.
2015-07-10 15:07:45 +09:00
Alexandre Julliard
bf26950194
server: Pass the file instead of the device pointer in all IRP requests.
2015-07-09 14:48:34 +09:00
Alexandre Julliard
13499a3d11
ntoskrnl: Implement creation and destruction of file objects.
2015-07-09 14:48:14 +09:00
Alexandre Julliard
350ee62ab4
server: Queue an IRP_MJ_CLOSE request on file destruction.
2015-07-09 14:38:18 +09:00
Alexandre Julliard
b1fd5955c9
server: Queue an IRP_MJ_CREATE request on file creation.
2015-07-09 14:38:18 +09:00
Alexandre Julliard
d087ea6798
server: Pass the device client pointer as part of the IRP parameters.
2015-07-09 14:38:18 +09:00
Sebastian Lackner
ece08c10a1
server: Delay destruction of file object in set_irp_result.
2015-06-19 17:02:11 +09:00
Alexandre Julliard
3d7aa246d5
server: Add a request to empty the clipboard.
2015-06-09 22:09:56 +09:00
Charles Davis
b2aa984743
server: Get debug registers on 64-bit Mac OS.
2015-06-05 19:49:37 +09:00
Qian Hong
ef3ed04cdc
server: Fix type name of directory file.
2015-06-05 14:32:27 +09:00
Qian Hong
f208c50cc0
server: Fix type name of File.
2015-06-05 14:32:23 +09:00
Qian Hong
bdc223ad39
server: Fix type name of IoCompletion.
2015-06-05 14:32:15 +09:00
Qian Hong
71080cc081
ntdll: Implemenent ObjectTypeInformation class support in NtQueryObject.
2015-06-05 14:32:01 +09:00
Sebastian Lackner
e05e99d754
server: Fix opening clipboard from multiple threads.
2015-06-04 15:58:02 +09:00
Alexandre Julliard
25d9fc3ecc
server: Check for the current owner window on the server side for releases.
2015-06-03 19:29:49 +09:00
Alexandre Julliard
bdf3f413af
server: Allow opening the clipboard again with the same owner.
2015-06-03 18:46:54 +09:00
Alexandre Julliard
e99c3f0c4b
server: Store the clipboard windows as full handles.
2015-06-03 18:46:54 +09:00
Alexandre Julliard
b8fac8adbf
server: Use separate helper functions for setting and resetting clipboard windows.
2015-06-03 18:46:54 +09:00
Alexandre Julliard
b7f79bae86
server: Use a standard timestamp for the clipboard.
2015-06-03 18:46:54 +09:00
Alexandre Julliard
c0ac2afb19
server: Create the null device and its symlink.
2015-05-21 17:24:34 +09:00
Alexandre Julliard
b414b93d5a
server: Allow a device file to be mapped directly to a Unix device.
2015-05-21 17:18:08 +09:00
Sebastian Lackner
4439cd433d
server: attach_thread_input shouldn't create queues for foreign threads.
2015-05-18 19:59:28 +09:00
Alexandre Julliard
6260aa6cd2
server: Add an intermediate file object for file handles opened on devices.
2015-05-18 17:50:22 +09:00
Alexandre Julliard
47eec1364a
server: Ignore FILE_DIRECTORY_FILE on special files.
2015-05-18 17:50:22 +09:00
Sebastian Lackner
b3fb5992b6
server: Fix leak of async handle in pipe_server_flush.
2015-05-11 15:19:05 +09:00
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
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