summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Victor Hsieh <victorhsieh@google.com> 2024-04-15 11:52:07 -0700
committer Victor Hsieh <victorhsieh@google.com> 2024-04-15 19:28:43 -0700
commitc5c5d9a3b75cda48aa5c9231fde2b6967afa2259 (patch)
tree7f93f1e8d28af66005c1bdb260eaf4facee2556c /libs/androidfw/FileStream.cpp
parent58de75ce60e1a7efaa0f8fbad9ac34eaa55496b2 (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions