summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Eric Biggers <ebiggers@google.com> 2023-05-18 18:06:26 +0000
committer Eric Biggers <ebiggers@google.com> 2023-05-18 18:10:46 +0000
commit2884c77232130740ce207b3ea471219deb5e3752 (patch)
tree843a09b104b03007b5217d2b87efdfd918986a07 /libs/androidfw/FileStream.cpp
parent8c7dbeba13db9db92d67bb53a5f80f62846647fb (diff)
VerityUtils: handle ENOTTY from FS_IOC_GETFLAGS
In some cases, such as EROFS filesystems, it's expected for statxForFsverity() to get ENOTTY from FS_IOC_GETFLAGS. In this case, we should just return 0 to indicate that fs-verity is not enabled. This avoids logging an ERROR message to the log unnecessarily. Bug: 279597861 Change-Id: I58149f7611c223789210594f28a98420dfddd8ec
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions