Cygwin: spawn: revert incorrect restriction of permissions
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
69cc7a0686
commit
3b21333172
|
@ -637,8 +637,7 @@ child_info_fork::handle_fork ()
|
||||||
bool
|
bool
|
||||||
child_info_spawn::get_parent_handle ()
|
child_info_spawn::get_parent_handle ()
|
||||||
{
|
{
|
||||||
parent = OpenProcess (PROCESS_QUERY_LIMITED_INFORMATION, FALSE,
|
parent = OpenProcess (PROCESS_VM_READ, FALSE, parent_winpid);
|
||||||
parent_winpid);
|
|
||||||
moreinfo->myself_pinfo = NULL;
|
moreinfo->myself_pinfo = NULL;
|
||||||
return !!parent;
|
return !!parent;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue