summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/host/control.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-03-26 23:51:40 +0000
committergVisor bot <gvisor-bot@google.com>2020-03-26 23:51:40 +0000
commit529f8d1bffcd8ba359d14321070b8fc30216fa36 (patch)
tree5fcfbe29344ec22eeecc2ba61a7591f289c94d13 /pkg/sentry/fs/host/control.go
parent4b0bcc89734aed354553b85088d1b970803cedac (diff)
parent137f3614009b0ef931c1d00a083b4ae8e6a39bc9 (diff)
Merge release-20200219.0-251-g137f361 (automated)
Diffstat (limited to 'pkg/sentry/fs/host/control.go')
-rw-r--r--pkg/sentry/fs/host/control.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/host/control.go b/pkg/sentry/fs/host/control.go
index cd84e1337..52c0504b6 100644
--- a/pkg/sentry/fs/host/control.go
+++ b/pkg/sentry/fs/host/control.go
@@ -78,7 +78,7 @@ func fdsToFiles(ctx context.Context, fds []int) []*fs.File {
}
// Create the file backed by hostFD.
- file, err := NewFile(ctx, fd, fs.FileOwnerFromContext(ctx))
+ file, err := NewFile(ctx, fd)
if err != nil {
ctx.Warningf("Error creating file from host FD: %v", err)
break