OSDN Git Service

[incfs] Use new IncFs_ReleaseControlFds() instead of duping
authorYurii Zubrytskyi <zyy@google.com>
Thu, 23 Apr 2020 06:23:24 +0000 (23:23 -0700)
committerYurii Zubrytskyi <zyy@google.com>
Thu, 23 Apr 2020 06:26:32 +0000 (23:26 -0700)
commitfc7b6697b40076f8fd67f6fbc805812c9fd07369
tree2d9d001fa440f0d0ffcb01a3770ae605332cd19a
parent4e1e7ef09a33d368ec41b76fd82fefd6f876aa6c
[incfs] Use new IncFs_ReleaseControlFds() instead of duping

Vold needs to pass / accept IncFs control via Binder, so it
neeeds to get and put its internal FDs in and out. Using the new
release() function it works without extra fd duping

Bug: 153704006
Test: builds & boots
Change-Id: I64bc5b1ca9f2c69e34c3a860ed3edbe58bd9ea29
VoldNativeService.cpp