summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/loader/vdso.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-11-18 11:50:44 -0800
committergVisor bot <gvisor-bot@google.com>2019-11-18 11:50:44 -0800
commit235a96cab15e64c69fbbdce03c9bb4eb2c30b0d5 (patch)
treebbfccfb21739a4d3d4504f253a814b1f82751747 /pkg/sentry/loader/vdso.go
parent96019436854b0c59ae380a4920381586d05d9c31 (diff)
parent1d8b7292d72ce93d465e4ded19237fb92c08bc56 (diff)
Merge pull request #1177 from xiaobo55x:fs_host
PiperOrigin-RevId: 281112758
Diffstat (limited to 'pkg/sentry/loader/vdso.go')
-rw-r--r--pkg/sentry/loader/vdso.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/loader/vdso.go b/pkg/sentry/loader/vdso.go
index ada28aea3..df8a81907 100644
--- a/pkg/sentry/loader/vdso.go
+++ b/pkg/sentry/loader/vdso.go
@@ -268,6 +268,8 @@ func PrepareVDSO(ctx context.Context, mfp pgalloc.MemoryFileProvider) (*VDSO, er
// some applications may not be able to handle multiple [vdso]
// hints.
vdso: mm.NewSpecialMappable("", mfp, vdso),
+ os: info.os,
+ arch: info.arch,
phdrs: info.phdrs,
}, nil
}