1b00bd2de3
apkdmverity can attach a file to a loop device using LOOP_CONFIGURE
instead of LOOP_SET_FD/LOOP_SET_STATUS64 because it's more efficient.
The reason we used the latter was that LOOP_CONFIGURE didn't work then,
but the problem was only for the idsig file when it's attached to a loop
device using LO_FLAGS_DIRECT_IO.
I still don't know the reason, but at least we can use LOOP_CONFIGURE
and explicitly do not turn on Direct IO when attaching IDSIG file to a
loop device.
This is a partial revert of
|
||
---|---|---|
.. | ||
.cargo | ||
src | ||
testdata | ||
Android.bp | ||
AndroidTest.xml | ||
Cargo.toml | ||
TEST_MAPPING |