summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/proc/tasks_sys.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-04-30 16:51:30 +0000
committergVisor bot <gvisor-bot@google.com>2020-04-30 16:51:30 +0000
commitfcb8e5d481e5eaafa9796fbb2d22bd996dbbb38b (patch)
treec9b35b6e6544ccb7c8e823c2908c8c2e4f458ba5 /pkg/sentry/fsimpl/proc/tasks_sys.go
parenta8456bb33546ae08143587e01763cbfa03b09d6f (diff)
parent442fde405d86c555ac09994772c85ca15a3b4fc7 (diff)
Merge release-20200413.0-27-g442fde4 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/proc/tasks_sys.go')
-rwxr-xr-xpkg/sentry/fsimpl/proc/tasks_sys.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/sentry/fsimpl/proc/tasks_sys.go b/pkg/sentry/fsimpl/proc/tasks_sys.go
index f08668ca2..0e90e02fe 100755
--- a/pkg/sentry/fsimpl/proc/tasks_sys.go
+++ b/pkg/sentry/fsimpl/proc/tasks_sys.go
@@ -112,9 +112,7 @@ func newSysNetDir(root *auth.Credentials, inoGen InoGenerator, k *kernel.Kernel)
}
}
- return kernfs.NewStaticDir(root, inoGen.NextIno(), 0555, map[string]*kernfs.Dentry{
- "net": kernfs.NewStaticDir(root, inoGen.NextIno(), 0555, contents),
- })
+ return kernfs.NewStaticDir(root, inoGen.NextIno(), 0555, contents)
}
// mmapMinAddrData implements vfs.DynamicBytesSource for