summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/testutil
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2020-07-07 21:35:47 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-07 21:37:08 -0700
commitefa2615eb008a642dc542176759dc560c5f48a2d (patch)
treeeeb835a5d6579317fa30022407d3dcf02b683b7f /pkg/sentry/fsimpl/testutil
parent5e05950c1c520724e2e03963850868befb95efeb (diff)
[vfs2] Remove VFS1 usage in VDSO.
Removed VDSO dependency on VFS1. Resolves #2921 PiperOrigin-RevId: 320122176
Diffstat (limited to 'pkg/sentry/fsimpl/testutil')
-rw-r--r--pkg/sentry/fsimpl/testutil/kernel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/testutil/kernel.go b/pkg/sentry/fsimpl/testutil/kernel.go
index c16a36cdb..ecc81e6bf 100644
--- a/pkg/sentry/fsimpl/testutil/kernel.go
+++ b/pkg/sentry/fsimpl/testutil/kernel.go
@@ -73,7 +73,7 @@ func Boot() (*kernel.Kernel, error) {
k.SetMemoryFile(mf)
// Pass k as the platform since it is savable, unlike the actual platform.
- vdso, err := loader.PrepareVDSO(nil, k)
+ vdso, err := loader.PrepareVDSO(k)
if err != nil {
return nil, fmt.Errorf("creating vdso: %v", err)
}