summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/syscalls/linux
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-27 21:02:59 +0000
committergVisor bot <gvisor-bot@google.com>2020-01-27 21:02:59 +0000
commit186ba3d4dce41d79812ac6a447c9870f12013292 (patch)
tree3a3cb1172834164327936a8799f1e52a5a7e40a5 /pkg/sentry/syscalls/linux
parent84232f34d2386c7fd49e359d0c71ec3d43567784 (diff)
parent13c1f38dfa215ab3e3cc70642721f55ab226d5b7 (diff)
Merge release-20200115.0-105-g13c1f38 (automated)
Diffstat (limited to 'pkg/sentry/syscalls/linux')
-rwxr-xr-xpkg/sentry/syscalls/linux/sys_xattr.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/syscalls/linux/sys_xattr.go b/pkg/sentry/syscalls/linux/sys_xattr.go
index e35c077d6..77deb8980 100755
--- a/pkg/sentry/syscalls/linux/sys_xattr.go
+++ b/pkg/sentry/syscalls/linux/sys_xattr.go
@@ -103,6 +103,7 @@ func getXattr(t *kernel.Task, d *fs.Dirent, nameAddr usermem.Addr, size uint64)
return 0, "", err
}
+ // TODO(b/148380782): Support xattrs in namespaces other than "user".
if !strings.HasPrefix(name, linux.XATTR_USER_PREFIX) {
return 0, "", syserror.EOPNOTSUPP
}