diff options
author | Christopher Faylor <me@cgf.cx> | 2004-01-25 08:18:11 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-01-25 08:18:11 +0300 |
commit | 393709b694c708248c9bf25a9172a5eccb07e0b9 (patch) | |
tree | 32e2528fb79f00a853c70b864e217916c4529845 | |
parent | 68b180c42228ff1b7a7f0b5c5bd51de5570f2b7b (diff) |
* sigproc.cc (proc_subproc): Don't protect *child's* handle.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/sigproc.cc | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 6ba73b95a..9289a4af6 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2004-01-25 Christopher Faylor <cgf@redhat.com> + + * sigproc.cc (proc_subproc): Don't protect *child's* handle. + 2004-01-24 Christopher Faylor <cgf@redhat.com> * fhandler.h (fhandler_base::fhaccess): Return int for compatibility diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index a7ace07a5..b9debc5d4 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -339,7 +339,6 @@ proc_subproc (DWORD what, DWORD val) if (!DuplicateHandle (hMainProc, hMainProc, vchild->hProcess, &vchild->ppid_handle, SYNCHRONIZE | PROCESS_DUP_HANDLE, TRUE, 0)) system_printf ("Couldn't duplicate my handle<%p> for pid %d, %E", hMainProc, vchild->pid); - VerifyHandle (vchild->ppid_handle); vchild->ppid = myself->pid; vchild->uid = myself->uid; vchild->gid = myself->gid; |