summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/syscalls/linux/linux64_amd64.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-12-16 21:24:24 +0000
committergVisor bot <gvisor-bot@google.com>2019-12-16 21:24:24 +0000
commitc46ddf9c69d71989996115194fbb7b70155396c9 (patch)
treec33473ec9f50fac99718c9cb481c2c1db7595941 /pkg/sentry/syscalls/linux/linux64_amd64.go
parentf1c7bb8642584b8c808b311dfd094479a0424466 (diff)
parente6f4124afd951c3b089f9c75c499c14f4d90a590 (diff)
Merge release-20191210.0-31-ge6f4124 (automated)
Diffstat (limited to 'pkg/sentry/syscalls/linux/linux64_amd64.go')
-rwxr-xr-xpkg/sentry/syscalls/linux/linux64_amd64.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/syscalls/linux/linux64_amd64.go b/pkg/sentry/syscalls/linux/linux64_amd64.go
index 797542d28..272ae9991 100755
--- a/pkg/sentry/syscalls/linux/linux64_amd64.go
+++ b/pkg/sentry/syscalls/linux/linux64_amd64.go
@@ -228,10 +228,10 @@ var AMD64 = &kernel.SyscallTable{
185: syscalls.Error("security", syserror.ENOSYS, "Not implemented in Linux.", nil),
186: syscalls.Supported("gettid", Gettid),
187: syscalls.Supported("readahead", Readahead),
- 188: syscalls.Error("setxattr", syserror.ENOTSUP, "Requires filesystem support.", nil),
+ 188: syscalls.PartiallySupported("setxattr", Setxattr, "Only supported for tmpfs.", nil),
189: syscalls.Error("lsetxattr", syserror.ENOTSUP, "Requires filesystem support.", nil),
190: syscalls.Error("fsetxattr", syserror.ENOTSUP, "Requires filesystem support.", nil),
- 191: syscalls.ErrorWithEvent("getxattr", syserror.ENOTSUP, "Requires filesystem support.", nil),
+ 191: syscalls.PartiallySupported("getxattr", Getxattr, "Only supported for tmpfs.", nil),
192: syscalls.ErrorWithEvent("lgetxattr", syserror.ENOTSUP, "Requires filesystem support.", nil),
193: syscalls.ErrorWithEvent("fgetxattr", syserror.ENOTSUP, "Requires filesystem support.", nil),
194: syscalls.ErrorWithEvent("listxattr", syserror.ENOTSUP, "Requires filesystem support.", nil),