summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/syscalls/linux/vfs2/vfs2.go
diff options
context:
space:
mode:
authorBin Lu <bin.lu@arm.com>2020-09-21 23:11:22 -0400
committerBin Lu <bin.lu@arm.com>2020-09-25 03:32:57 -0400
commit71c523b8f9a8ad1ab2ce37423e0d8fc8d3762f24 (patch)
tree45519a32a73245f6e3c58400fbd3179c593351af /pkg/sentry/syscalls/linux/vfs2/vfs2.go
parent059d90b9f1c52e6aed259ba7ac4847de297273c6 (diff)
arm64: some minor changes
This patch adds minor changes for Arm64 platform: 1, add SetRobustList/GetRobustList support for arm64 syscall module. 2, add newfstatat support for arm64 vfs2 syscall module. 3, add tls value in ProtoBuf. Signed-off-by: Bin Lu <bin.lu@arm.com>
Diffstat (limited to 'pkg/sentry/syscalls/linux/vfs2/vfs2.go')
-rw-r--r--pkg/sentry/syscalls/linux/vfs2/vfs2.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/syscalls/linux/vfs2/vfs2.go b/pkg/sentry/syscalls/linux/vfs2/vfs2.go
index 0df3bd449..41c25946d 100644
--- a/pkg/sentry/syscalls/linux/vfs2/vfs2.go
+++ b/pkg/sentry/syscalls/linux/vfs2/vfs2.go
@@ -227,6 +227,7 @@ func Override() {
s.Table[76] = syscalls.Supported("splice", Splice)
s.Table[77] = syscalls.Supported("tee", Tee)
s.Table[78] = syscalls.Supported("readlinkat", Readlinkat)
+ s.Table[79] = syscalls.Supported("newfstatat", Newfstatat)
s.Table[80] = syscalls.Supported("fstat", Fstat)
s.Table[81] = syscalls.Supported("sync", Sync)
s.Table[82] = syscalls.Supported("fsync", Fsync)