summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2020-07-24 01:24:16 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-24 01:25:39 -0700
commite2c70ee9814f0f76ab5c30478748e4c697e91f33 (patch)
tree96653576ca0c9f1fc67f24f7aed61c419e9d86c8 /pkg/sentry/fs
parentc59b792f53f3aa4c24d1ca9442ffc44f6d4932df (diff)
Enable automated marshalling for netstack.
PiperOrigin-RevId: 322954792
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)
}