Commit Graph

150 Commits

Author SHA1 Message Date
Piotr Caban 9fa65a8751 server: Fix process trace_data initialization race on Mac.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-08 10:20:02 -06:00
Zebediah Figura 0ea963a406 ntdll: Call the select request directly in RtlWaitOnAddress().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 16:13:10 +01:00
Josh DuBois 7f567451b2 ntdll: Use root of c: drive as fallback cwd during startup.
Signed-off-by: Josh DuBois <duboisj@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-06 22:12:17 +02:00
Alexandre Julliard 70b69f3e5f ntdll: Don't return from attach_dlls on failure.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 19:06:44 +01:00
Alexandre Julliard 6c61ea6a13 ntdll: Suspend a thread with its start context explicitly before attaching dlls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 12:15:51 +01:00
Alexandre Julliard afb16abc0f ntdll: Add a platform-specific helper for starting a process.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-29 17:18:23 +01:00
Alexandre Julliard 5996398360 ntdll: Don't change packing of fd cache entries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 19:12:08 +01:00
Alexandre Julliard a20c4e11df ntdll: Add a helper to lock the user output buffer during a server call.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-22 15:10:21 +02:00
Alexandre Julliard 0eefa76791 ntdll: Suspend the process before attaching dlls, using the process initial context.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-19 12:43:00 +02:00
Alexandre Julliard 8c103f298b ntdll: Add support for setting a platform-specific initial context.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-19 12:10:14 +02:00
Jacek Caban e2469b2c3d ntdll: Remove no longer needed APC handling from APC_ASYNC_IO callbacks.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-11 19:59:06 +02:00
Jacek Caban fbf241034c server: Removed no longed needed APC from APC_ASYNC_IO reply.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-11 19:58:40 +02:00
Jacek Caban 05410c4aa6 ntdll: Use callback stored in async user for calling APC_ASYNC_IO.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-11 19:56:52 +02:00
Sebastian Lackner 9d0a48da0f ntdll: Use FD_CLOEXEC instead of hardcoded values.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-07 16:33:38 +01:00
Alexandre Julliard df3b7958a7 ntdll: Check for invalid WINEARCH values.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-16 15:20:18 +01:00
Jacek Caban 3b30002aec ntdll: Cache error information for cacheable handles with no fd.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-28 18:35:53 +02:00
Sebastian Lackner 808619b72d server: Allow to create win32 prefix when directory already exists.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-22 12:46:01 +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 8a33dd43f6 ntdll: Do not check if object was signaled after user APC in server_select.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-23 13:21:10 +09:00
André Hentschel f78bd7f4d9 ntdll: Enable wow64 on ARM64. 2015-05-08 14:54:47 +09:00
Sebastian Lackner 40c912b4be ntdll: Use lockfree implementation for get_cached_fd. 2015-05-04 16:22:38 +09:00
Sebastian Lackner bf65fef8bc ntdll: Assert when trying to replace an exiting file descriptor in fd_cache. 2015-03-04 21:50:38 +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
Alexandre Julliard 8d817997ce configure: Add a check for sys/ucontext.h and include it where appropriate. 2014-07-23 19:06:58 +02:00
Frédéric Delanoy 502fc1aef9 ntdll: Use boolean type where appropriate. 2013-12-09 11:45:50 +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
Frédéric Delanoy 416930d498 ntdll: Use BOOL type where appropriate. 2013-11-04 11:03:43 +01:00
Dmitry Timoshkov ba372b92b5 ntdll: Make it possible to store FILE_APPEND_DATA access bit in the server fd cache. 2013-10-04 19:59:58 +02:00
Alexandre Julliard 5c0b5f4dcb ntdll: Move the select and APC support to server.c. 2013-08-26 20:36:56 +02:00
André Hentschel 0effd926b6 server: Remove SPARC support. 2013-03-05 11:04:07 +01:00
Alexandre Julliard 606c88a348 ntdll: Use the __NR_ names for Linux system calls. 2013-01-21 21:37:02 +01:00
André Hentschel d11e72f925 server: Add ARM64 support. 2013-01-16 12:49:20 +01:00
Maarten Lankhorst 7457f37e4a ntdll: Set SO_PASSCRED before connecting to eliminate a race condition in obtaining server_pid. 2012-10-18 19:31:15 +02:00
Jan Beich 83bac4113c ntdll: Fetch thread id on NetBSD. 2012-08-17 10:47:22 +02:00
Jan Beich fa4e97f454 ntdll: Prefer a portable function to get thread id. 2012-08-17 10:47:03 +02:00
André Hentschel 4c44e151be ntdll: Get the unix tid on DragonFly BSD. 2012-06-04 12:17:55 +02:00
Ken Thomases 35302a643a ntdll: Don't change SIGCHLD disposition; no automatic reaping of child processes. 2011-12-01 10:10:54 +01:00
André Hentschel 6f9d1840ef ntdll: Remove Alpha support. 2011-04-20 13:09:39 +02:00
Alexandre Julliard 29f5799996 ntdll: Don't print an error when architecture is set to win64 and the app is 64-bit. 2011-03-01 14:11:19 +01:00
Alexandre Julliard 086848a45f ntdll: Use the gettid system call on all Linux platforms. 2010-12-27 12:07:12 +01:00
Alexandre Julliard 9227eb2c9d ntdll: Add a workaround for Ubuntu's stupid ptrace breakage. 2010-09-30 17:51:12 +02:00
Alexandre Julliard dec7effac0 ntdll: Add support for retrieving the server pid from the socket credentials. 2010-09-30 17:05:13 +02:00
Alexandre Julliard 179715251d server: Make the fd passing code slightly more portable. 2010-09-30 11:53:07 +02:00
André Hentschel 171c9a5327 ntdll: Add ARM support. 2010-09-20 12:58:44 +02:00
Alexandre Julliard a2ca2ebd50 server: Change the removable fd flag to a cacheable flag to make it possible for fd users to set it dynamically. 2010-08-23 17:09:45 +02:00
Maarten Lankhorst e8c5e2b890 ntdll: Use syscall instead of int $0x80. 2010-07-22 10:24:48 +02:00
Alexandre Julliard a49891f1e2 ntdll: Add a WINEARCH environment variable that allows forcing a specific 32- or 64-bit architecture. 2010-06-24 15:10:58 +02:00
Alexandre Julliard ac69fcb14f server: Check that the prefix type can support the client architecture. 2010-05-04 20:27:20 +02:00
Ken Thomases 07d005de84 ntdll: Mac: Fix leak of send right for Mach thread port.
The leaked send right kept the port alive for threads that are gone.  For
processes which create a lot of threads, this can cause performance problems.
2010-02-24 15:12:30 +01:00