* sigproc.cc (proc_subproc): Don't protect *child's* handle.

This commit is contained in:
Christopher Faylor 2004-01-25 05:17:21 +00:00
parent 9157f0f3ec
commit 6bc774fc6b
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -320,7 +320,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;