diff options
author | Chong Cai <chongc@google.com> | 2020-10-24 12:01:52 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-24 12:03:44 -0700 |
commit | 73a18635385d6a90942370e15fe2cbeb2a5a4386 (patch) | |
tree | 1e54d4439fb3ea3cdf6510ff3167d4e53925f9c6 /pkg/sentry/fsimpl/verity/filesystem.go | |
parent | 4feb5c7c263de2310608d1a0e608d4ffd5e2990f (diff) |
Implement Seek in verity fs
PiperOrigin-RevId: 338847417
Diffstat (limited to 'pkg/sentry/fsimpl/verity/filesystem.go')
-rw-r--r-- | pkg/sentry/fsimpl/verity/filesystem.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/verity/filesystem.go b/pkg/sentry/fsimpl/verity/filesystem.go index 7e75c67c8..81dfed266 100644 --- a/pkg/sentry/fsimpl/verity/filesystem.go +++ b/pkg/sentry/fsimpl/verity/filesystem.go @@ -365,6 +365,7 @@ func (fs *filesystem) verifyStat(ctx context.Context, d *dentry, stat linux.Stat d.mode = uint32(stat.Mode) d.uid = stat.UID d.gid = stat.GID + d.size = uint32(size) return nil } |