diff options
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index cf2a08e..6b564dc 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -637,8 +637,7 @@ child_info_fork::handle_fork () bool child_info_spawn::get_parent_handle () { - parent = OpenProcess (PROCESS_QUERY_LIMITED_INFORMATION, FALSE, - parent_winpid); + parent = OpenProcess (PROCESS_VM_READ, FALSE, parent_winpid); moreinfo->myself_pinfo = NULL; return !!parent; } |