Commit Graph

1849 Commits

Author SHA1 Message Date
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