summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/release/3.0.113
-rw-r--r--winsup/cygwin/sigproc.cc2
2 files changed, 14 insertions, 1 deletions
diff --git a/winsup/cygwin/release/3.0.1 b/winsup/cygwin/release/3.0.1
new file mode 100644
index 000000000..ae6e03ea6
--- /dev/null
+++ b/winsup/cygwin/release/3.0.1
@@ -0,0 +1,13 @@
+What's new:
+-----------
+
+
+What changed:
+-------------
+
+
+Bug Fixes
+---------
+
+- Relax fork child permissions to avoid a potential fork failure.
+ Addresses: https://cygwin.com/ml/cygwin/2019-02/msg00234.html
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index 30dfaaa25..3b6492bb4 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -815,7 +815,7 @@ child_info::child_info (unsigned in_cb, child_info_types chtype,
we're forking, we also need handle duplicate access. */
parent = NULL;
DWORD perms = PROCESS_QUERY_LIMITED_INFORMATION | PROCESS_VM_READ
- | SYNCHRONIZE;
+ | PROCESS_VM_OPERATION | SYNCHRONIZE;
if (type == _CH_FORK)
{
perms |= PROCESS_DUP_HANDLE;