diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-09-08 15:52:01 -0700 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2020-09-09 17:53:10 -0700 |
commit | 0170be90f67b4dc075710d1cd82ccd8d3ac9156a (patch) | |
tree | 8dc666ce2532f1c12b845531cb9d1cffb3858b93 /pkg/sentry/fsimpl/verity/BUILD | |
parent | a530de2b29c5f5fa0236ce95f7bc788effab446a (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", ], ) |