diff options
author | Chong Cai <chongc@google.com> | 2020-10-23 11:13:46 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-23 11:15:45 -0700 |
commit | 685ceca98b35762ed64cf67bd97ce0323103b3d6 (patch) | |
tree | e4b5ef3eed9d96a788982cff66b0441fc2f2ef20 /runsc/version.go | |
parent | 6237563f0a154ee3f62dc1a82be5903e405b98eb (diff) |
Check for verity file/Merkle file when reopen
Even if the child dentry has been cached, we should still check whether
the file and the corresponding Merkle tree file exist as expected. This
ensures that we can detect deletion/renaming of files that have been
previous enabled and opened.
Also make all verification failures to return EIO. This helps to test
verify failures.
PiperOrigin-RevId: 338709055
Diffstat (limited to 'runsc/version.go')
0 files changed, 0 insertions, 0 deletions