summaryrefslogtreecommitdiffhomepage
path: root/pkg/seccomp/seccomp_unsafe.go
diff options
context:
space:
mode:
authorChong Cai <chongc@google.com>2020-11-04 11:39:07 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-04 11:41:38 -0800
commita15562c019a42e04fed7e9cff1d901b3bcfaca59 (patch)
tree04e7da5d587377af6427d08bc3811ff547482270 /pkg/seccomp/seccomp_unsafe.go
parent3b18bdbd3c119e8fe10e21587374cca3b08f0020 (diff)
Include file size in Merkle hash
The file size can now also be verified. Also, since we are zero-padding the last block of the data, we cannot differentiate the cases between zero-padded block from the blocks that are ends with zeroes. With the size included this can be addressed, as those cases would have different file size. PiperOrigin-RevId: 340695510
Diffstat (limited to 'pkg/seccomp/seccomp_unsafe.go')
0 files changed, 0 insertions, 0 deletions