diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-03-16 20:33:29 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-16 20:33:29 +0000 |
commit | c78fcdc8af5ba8864c3161941115f5196a21a166 (patch) | |
tree | 8a56311bcb022418e97cd5f317a0d240476b6ae4 /pkg/sentry/vfs/file_description.go | |
parent | 0f83bce9c35d05bdd6ef82a771a999c3deab62ca (diff) | |
parent | 0f60799a4f8c3db567973574147370fc900df55f (diff) |
Merge release-20200219.0-183-g0f60799 (automated)
Diffstat (limited to 'pkg/sentry/vfs/file_description.go')
-rwxr-xr-x | pkg/sentry/vfs/file_description.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/sentry/vfs/file_description.go b/pkg/sentry/vfs/file_description.go index 9a1ad630c..8ee549dc2 100755 --- a/pkg/sentry/vfs/file_description.go +++ b/pkg/sentry/vfs/file_description.go @@ -286,7 +286,8 @@ type FileDescriptionImpl interface { Stat(ctx context.Context, opts StatOptions) (linux.Statx, error) // SetStat updates metadata for the file represented by the - // FileDescription. + // FileDescription. Implementations are responsible for checking if the + // operation can be performed (see vfs.CheckSetStat() for common checks). SetStat(ctx context.Context, opts SetStatOptions) error // StatFS returns metadata for the filesystem containing the file |