server: Use GENERIC_READ | GENERIC_WRITE in inherit_console().
The inherited console must have at least FILE_READ_DATA | FILE_WRITE_DATA. This also matches the access rights in AllocConsole(). Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d0946955ec
commit
c4ae13e312
|
@ -784,7 +784,7 @@ obj_handle_t inherit_console( struct thread *parent_thread, obj_handle_t handle,
|
||||||
process->console = console;
|
process->console = console;
|
||||||
console->num_proc++;
|
console->num_proc++;
|
||||||
return alloc_handle( process, process->console,
|
return alloc_handle( process, process->console,
|
||||||
SYNCHRONIZE | FILE_READ_ATTRIBUTES | FILE_WRITE_ATTRIBUTES, 0 );
|
SYNCHRONIZE | GENERIC_READ | GENERIC_WRITE, 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
struct thread *console_get_renderer( struct console_input *console )
|
struct thread *console_get_renderer( struct console_input *console )
|
||||||
|
|
Loading…
Reference in New Issue