diff options
author | Chong Cai <chongc@google.com> | 2021-04-30 13:25:00 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-04-30 13:26:51 -0700 |
commit | ea89cd38a11fc63b3ff397c9f5901fa541c8acb4 (patch) | |
tree | 8846381b9dfea9818da586fcebeb4d39a74cdfa4 /pkg/sentry/socket/unix/device.go | |
parent | c958c5a4f103725ddbb87f6db66cca9beb06cb84 (diff) |
Do not return content if verity translate fails
If verification fails for translating mmapped memory, the content should
not be returned. This is not an issue for panic mode, but for error mode
we should return empty content along with the error.
PiperOrigin-RevId: 371393519
Diffstat (limited to 'pkg/sentry/socket/unix/device.go')
0 files changed, 0 insertions, 0 deletions