mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:30:57 +00:00
![]() We were using bit 1 of RTL_USER_PROCESS_PARAMETERS for two different cases: - rightfully, as a sign to block ctrl-c events from being processed by handlers (and by default, terminating the process) - But this was also used to request for the creation of a new process group. This patch properly separates the two use cases, by using the ProcessGroupId field in RTL_USER_PROCESS_PARAMETERS (checked that Win10 behaves as this patch in RtlCreateUserProcess wrt. RTL_USER_PROCESS_PARAMETERS ProcessGroupId usage input/output). Introduce process_group_id in startup_info_t and use it to pass it to server. ProcessGroupId field in RTL_USER_PROCESS_PARAMETERS is now properly set. Note: this will change some external behavior. - before this patch, a child process created with Ctrl-C disabled (ConsoleFlags set), couldn't turn it on as the process was detached from unix console. - now, SIGINT handling is moved to kernelbase (and can be turned on/off at application will), - when creating a new windows group id, the child will be detached from unix console, so will no longer receives the SIGINT from ctrl-c in unix console (if parent was attached to this unix console). Signed-off-by: Eric Pouech <epouech@codeweavers.com> |
||
---|---|---|
.. | ||
async.c | ||
atom.c | ||
change.c | ||
class.c | ||
clipboard.c | ||
completion.c | ||
console.c | ||
debugger.c | ||
device.c | ||
directory.c | ||
event.c | ||
fd.c | ||
file.c | ||
file.h | ||
handle.c | ||
handle.h | ||
hook.c | ||
mach.c | ||
mailslot.c | ||
main.c | ||
Makefile.in | ||
mapping.c | ||
mutex.c | ||
named_pipe.c | ||
object.c | ||
object.h | ||
process.c | ||
process.h | ||
procfs.c | ||
protocol.def | ||
ptrace.c | ||
queue.c | ||
region.c | ||
registry.c | ||
request.c | ||
request.h | ||
security.h | ||
semaphore.c | ||
serial.c | ||
signal.c | ||
sock.c | ||
symlink.c | ||
thread.c | ||
thread.h | ||
timer.c | ||
token.c | ||
trace.c | ||
unicode.c | ||
unicode.h | ||
user.c | ||
user.h | ||
window.c | ||
wineserver.de.UTF-8.man.in | ||
wineserver.fr.UTF-8.man.in | ||
wineserver.man.in | ||
winstation.c |