From 2265db40e73e35723bd9ef284a0123070fe86814 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 29 Dec 2020 23:05:38 +0100 Subject: [PATCH] condrv: Don't requre write access for IOCTL_CONDRV_CTRL_EVENT ioctl. Fixes propagating CONTROL_C_EXIT exception from console server handle. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50304 Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- include/wine/condrv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wine/condrv.h b/include/wine/condrv.h index c20b22e061f..5c3c550070d 100644 --- a/include/wine/condrv.h +++ b/include/wine/condrv.h @@ -38,7 +38,7 @@ #define IOCTL_CONDRV_SET_INPUT_INFO CTL_CODE(FILE_DEVICE_CONSOLE, 16, METHOD_BUFFERED, FILE_WRITE_ACCESS) #define IOCTL_CONDRV_GET_TITLE CTL_CODE(FILE_DEVICE_CONSOLE, 17, METHOD_BUFFERED, FILE_READ_ACCESS) #define IOCTL_CONDRV_SET_TITLE CTL_CODE(FILE_DEVICE_CONSOLE, 18, METHOD_BUFFERED, FILE_WRITE_ACCESS) -#define IOCTL_CONDRV_CTRL_EVENT CTL_CODE(FILE_DEVICE_CONSOLE, 19, METHOD_BUFFERED, FILE_WRITE_ACCESS) +#define IOCTL_CONDRV_CTRL_EVENT CTL_CODE(FILE_DEVICE_CONSOLE, 19, METHOD_BUFFERED, FILE_ANY_ACCESS) #define IOCTL_CONDRV_BEEP CTL_CODE(FILE_DEVICE_CONSOLE, 20, METHOD_BUFFERED, FILE_ANY_ACCESS) #define IOCTL_CONDRV_FLUSH CTL_CODE(FILE_DEVICE_CONSOLE, 21, METHOD_BUFFERED, FILE_ANY_ACCESS)