OS handles (FDs, HANDLEs, mach ports) can be passed over mojo message pipes wrapped as mojo handles. However, the C++ API is quite low-level and only supports wrapping mach ports as mojo shared buffers.
While that API should be improved to cover the full range of OS handles, we can also provide a higher-level API by typemapping types such as base::File.
Comment 1 by bugdroid1@chromium.org
, Nov 28 2016