summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-07-24 08:28:20 +0000
committergVisor bot <gvisor-bot@google.com>2020-07-24 08:28:20 +0000
commit7a62b0310023459e56ec6ff78f40ad54f0d4bbb8 (patch)
tree9c3035fa8892e262cc70aa0bee7c5be7e26b264d /pkg/sentry/fs
parent3819bc2bc1bb5a56c957db01c6104d96d2ab9707 (diff)
parente2c70ee9814f0f76ab5c30478748e4c697e91f33 (diff)
Merge release-20200622.1-217-ge2c70ee98 (automated)
Diffstat (limited to 'pkg/sentry/fs')
-rw-r--r--pkg/sentry/fs/file_operations.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/fs/file_operations.go b/pkg/sentry/fs/file_operations.go
index beba0f771..f5537411e 100644
--- a/pkg/sentry/fs/file_operations.go
+++ b/pkg/sentry/fs/file_operations.go
@@ -160,6 +160,7 @@ type FileOperations interface {
// refer.
//
// Preconditions: The AddressSpace (if any) that io refers to is activated.
+ // Must only be called from a task goroutine.
Ioctl(ctx context.Context, file *File, io usermem.IO, args arch.SyscallArguments) (uintptr, error)
}