commit | 2884c77232130740ce207b3ea471219deb5e3752 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Thu May 18 18:06:26 2023 +0000 |
committer | Eric Biggers <ebiggers@google.com> | Thu May 18 18:10:46 2023 +0000 |
tree | 843a09b104b03007b5217d2b87efdfd918986a07 | |
parent | 8c7dbeba13db9db92d67bb53a5f80f62846647fb [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