Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c5c5d9a3 authored by Victor Hsieh's avatar Victor Hsieh
Browse files

Move 2 new FileIntegrityManager APIs to @SystemApi

Due to system health concerns of potential system wide I/O impact by 3P
apps using this API, move it from public to @SystemApi until the
underlying verity performance problem is fixed.

setupFsverity is now guarded by SETUP_FSVERITY permission, which is
signature|privileged. getFsVerityDigest is not guarded because it simply
calls a (read-only) ioctl in the app process.

Bug: 285185747
Bug: 296467543
Test: m
Test: atest android.security.cts.FileIntegrityManagerTest FsVerityTest
Test: atest android.permissionpolicy.cts.PermissionPolicyTest#platformPermissionPolicyIsUnaltered
Change-Id: Iff6141f01c24a5a8f03339fc764316c51339e686
parent 58de75ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment