[ros-kernel] DuplicateHandle on GetCurrentProcess
art yerkes
ayerkes at speakeasy.net
Mon Oct 27 00:08:44 CET 2003
In order to fork, cygwin needs to DuplicateHandle on a process handle, which
starts out as the current process handle. This change allows a process handle,
or the special GetCurrentProcess result to be duplicated. I forked the
implementation of DuplicateHandle because the PEPROCESS that is the result of
ObDereferenceObjectByHandle is a different type from the objects expected in
NtDuplicateObject.
Again, if there's no negative feedback, I'll commit in a couple of days.
--
"Should array indices start at 0 or 1? My compromise of 0.5 was rejected
without, I thought, proper consideration."
- S. Kelly-Bootle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: handle.diff
Type: application/octet-stream
Size: 5018 bytes
Desc: not available
Url : http://reactos.geldorp.nl:8080/pipermail/ros-kernel/attachments/20031027/58b71f27/handle-0001.obj
More information about the Ros-kernel
mailing list