diff options
| author | Ricardo Quesada <ricardoq@google.com> | 2020-03-09 15:26:00 -0700 |
|---|---|---|
| committer | Ricardo Quesada <ricardoq@google.com> | 2020-03-16 15:53:42 +0000 |
| commit | bfe6900ff9c102006ab932d1157fe119ce650c6f (patch) | |
| tree | 8e28d7f0e6a80a1bb477270f2eec05c8c2c2319e /docs/html/sdk/api_diff/15/changes | |
| parent | bac0268f63afa87c713d2f0a2ea32a6b85d92660 (diff) | |
fs-verity: replace ioctl(FS_IOC_MEASURE_VERITY) with statx()
This CL replaces the open(file) + ioctl(FS_IOC_MEASURE_VERITY) with
statx() to improve performance. This is because opening fs-verity files
is expensive.
This CL assumes that statx(STATX_ATTR_VERITY) is supported by the kernel.
This is the case for all the Android common kernels that support
fs-verity.
Bug: 146676114
Test: atest com.android.apkverity.ApkVerityTest
All 17 tests passed
Tested on Cuttlefish.
Change-Id: I21c70132682c0d4ae6922419b269aa9f5de2fb72
Diffstat (limited to 'docs/html/sdk/api_diff/15/changes')
0 files changed, 0 insertions, 0 deletions
