diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2019-01-27 22:42:41 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2019-01-27 22:42:41 +0100 |
commit | 3b21333172e57f56fa44ce63a10c368289701062 (patch) | |
tree | b080ed859fc21101485e8522813b3924ca75c9fb | |
parent | 69cc7a068656b5c6ef07ca079a213f801e02e650 (diff) | |
download | newlib-3b21333172e57f56fa44ce63a10c368289701062.zip newlib-3b21333172e57f56fa44ce63a10c368289701062.tar.gz newlib-3b21333172e57f56fa44ce63a10c368289701062.tar.bz2 |
Cygwin: spawn: revert incorrect restriction of permissions
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-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; } |