]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: pinfo: add method to send a serialized path_conv and HANDLE
authorCorinna Vinschen <corinna@vinschen.de>
Sat, 5 Jan 2019 20:57:03 +0000 (21:57 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Sun, 6 Jan 2019 19:30:14 +0000 (20:30 +0100)
commitc76468182b18272f3e40295e85186fda3d225c66
tree8bcffabdc3847f945fe508449e0d3f77616e5bdd
parent91b264c76c34290a31b14844e59bac0deeb62afd
Cygwin: pinfo: add method to send a serialized path_conv and HANDLE

To allow reopening a file open in another process by HANDLE, introduce
a matching file_pathconv method, taking a file descriptor as parameter.
The result is a serialized path_conv and a HANDLE value.  The HANDLE is
valid in the foreign process and MUST be duplicated into the target
process before usage.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/pinfo.cc
winsup/cygwin/pinfo.h
This page took 0.030636 seconds and 5 git commands to generate.