From efa2615eb008a642dc542176759dc560c5f48a2d Mon Sep 17 00:00:00 2001 From: Ayush Ranjan Date: Tue, 7 Jul 2020 21:35:47 -0700 Subject: [vfs2] Remove VFS1 usage in VDSO. Removed VDSO dependency on VFS1. Resolves #2921 PiperOrigin-RevId: 320122176 --- pkg/sentry/fsimpl/testutil/kernel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/sentry/fsimpl/testutil/kernel.go') 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) } -- cgit v1.2.3