summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/syscalls/linux/vfs2/vfs2.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-05-14 16:40:36 +0000
committergVisor bot <gvisor-bot@google.com>2020-05-14 16:40:36 +0000
commit0a45ce1d0302039bef819474a5ab7b3e3f68729d (patch)
treec7e13090ff423dda11351acf10d699de4a22c647 /pkg/sentry/syscalls/linux/vfs2/vfs2.go
parented3c3a576051d9aef718f578bb1c2cbf268b5251 (diff)
parent47dfba76616a69887f0d5a4be6eb82b5dc5d0f52 (diff)
Merge release-20200422.0-303-g47dfba7 (automated)
Diffstat (limited to 'pkg/sentry/syscalls/linux/vfs2/vfs2.go')
-rwxr-xr-xpkg/sentry/syscalls/linux/vfs2/vfs2.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/syscalls/linux/vfs2/vfs2.go b/pkg/sentry/syscalls/linux/vfs2/vfs2.go
index 9c04677f1..ec8da7f06 100755
--- a/pkg/sentry/syscalls/linux/vfs2/vfs2.go
+++ b/pkg/sentry/syscalls/linux/vfs2/vfs2.go
@@ -158,7 +158,7 @@ func Override() {
s.Table[306] = syscalls.Supported("syncfs", Syncfs)
s.Table[307] = syscalls.Supported("sendmmsg", SendMMsg)
s.Table[316] = syscalls.Supported("renameat2", Renameat2)
- delete(s.Table, 319) // memfd_create
+ s.Table[319] = syscalls.Supported("memfd_create", MemfdCreate)
s.Table[322] = syscalls.Supported("execveat", Execveat)
s.Table[327] = syscalls.Supported("preadv2", Preadv2)
s.Table[328] = syscalls.Supported("pwritev2", Pwritev2)