mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Merge pull request #4368 from zhlhahaha:1979
PiperOrigin-RevId: 335492800
This commit is contained in:
@@ -163,6 +163,7 @@ func Override() {
|
||||
|
||||
// Override ARM64.
|
||||
s = linux.ARM64
|
||||
s.Table[2] = syscalls.PartiallySupported("io_submit", IoSubmit, "Generally supported with exceptions. User ring optimizations are not implemented.", []string{"gvisor.dev/issue/204"})
|
||||
s.Table[5] = syscalls.Supported("setxattr", SetXattr)
|
||||
s.Table[6] = syscalls.Supported("lsetxattr", Lsetxattr)
|
||||
s.Table[7] = syscalls.Supported("fsetxattr", Fsetxattr)
|
||||
@@ -200,6 +201,7 @@ func Override() {
|
||||
s.Table[44] = syscalls.Supported("fstatfs", Fstatfs)
|
||||
s.Table[45] = syscalls.Supported("truncate", Truncate)
|
||||
s.Table[46] = syscalls.Supported("ftruncate", Ftruncate)
|
||||
s.Table[47] = syscalls.PartiallySupported("fallocate", Fallocate, "Not all options are supported.", nil)
|
||||
s.Table[48] = syscalls.Supported("faccessat", Faccessat)
|
||||
s.Table[49] = syscalls.Supported("chdir", Chdir)
|
||||
s.Table[50] = syscalls.Supported("fchdir", Fchdir)
|
||||
@@ -221,6 +223,7 @@ func Override() {
|
||||
s.Table[68] = syscalls.Supported("pwrite64", Pwrite64)
|
||||
s.Table[69] = syscalls.Supported("preadv", Preadv)
|
||||
s.Table[70] = syscalls.Supported("pwritev", Pwritev)
|
||||
s.Table[71] = syscalls.Supported("sendfile", Sendfile)
|
||||
s.Table[72] = syscalls.Supported("pselect", Pselect)
|
||||
s.Table[73] = syscalls.Supported("ppoll", Ppoll)
|
||||
s.Table[74] = syscalls.Supported("signalfd4", Signalfd4)
|
||||
@@ -252,8 +255,10 @@ func Override() {
|
||||
s.Table[210] = syscalls.Supported("shutdown", Shutdown)
|
||||
s.Table[211] = syscalls.Supported("sendmsg", SendMsg)
|
||||
s.Table[212] = syscalls.Supported("recvmsg", RecvMsg)
|
||||
s.Table[213] = syscalls.Supported("readahead", Readahead)
|
||||
s.Table[221] = syscalls.Supported("execve", Execve)
|
||||
s.Table[222] = syscalls.Supported("mmap", Mmap)
|
||||
s.Table[223] = syscalls.PartiallySupported("fadvise64", Fadvise64, "Not all options are supported.", nil)
|
||||
s.Table[242] = syscalls.Supported("accept4", Accept4)
|
||||
s.Table[243] = syscalls.Supported("recvmmsg", RecvMMsg)
|
||||
s.Table[267] = syscalls.Supported("syncfs", Syncfs)
|
||||
|
||||
Reference in New Issue
Block a user