diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-09-08 15:52:01 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-08 15:54:21 -0700 |
commit | 360f1535c761650657d406bf68f15498118d8222 (patch) | |
tree | c96e539de81e9143320abb53d4941265b6de3110 /pkg/sentry/fsimpl/verity/BUILD | |
parent | 682c0edcdcdfbf26be5d0d6efa2319f6f5259df2 (diff) |
Implement ioctl with enable verity
ioctl with FS_IOC_ENABLE_VERITY is added to verity file system to enable
a file as verity file. For a file, a Merkle tree is built with its data.
For a directory, a Merkle tree is built with the root hashes of its
children.
PiperOrigin-RevId: 330604368
Diffstat (limited to 'pkg/sentry/fsimpl/verity/BUILD')
-rw-r--r-- | pkg/sentry/fsimpl/verity/BUILD | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/verity/BUILD b/pkg/sentry/fsimpl/verity/BUILD index 326c4ed90..d28450e53 100644 --- a/pkg/sentry/fsimpl/verity/BUILD +++ b/pkg/sentry/fsimpl/verity/BUILD @@ -14,11 +14,13 @@ go_library( "//pkg/context", "//pkg/fspath", "//pkg/merkletree", + "//pkg/sentry/arch", "//pkg/sentry/fs/lock", "//pkg/sentry/kernel/auth", "//pkg/sentry/socket/unix/transport", "//pkg/sentry/vfs", "//pkg/sync", "//pkg/syserror", + "//pkg/usermem", ], ) |