commit | 1b00bd2de38e5bb17209c2282ff01bfd8bd349f0 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Fri Apr 15 15:29:25 2022 +0900 |
committer | Jooyung Han <jooyung@google.com> | Mon Apr 18 14:30:19 2022 +0900 |
tree | 064c724585134de0485082e1fc998c139dca28c6 | |
parent | 71aa0e7e0b6c9b35818216520f5b649daf1e3447 [diff] |
apkdmverity: Using LOOP_CONFIGURE 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 7ce2e5352866e44e9499cf4dfbdee8c72ab8a7a4. Bug: 191344832 Test: atest MicrodroidTestApp Test: atest apkdmverity.test Change-Id: I53a9da6d1d981b0d64a75bd362b09063570e7a68
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.