summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/syscalls/linux/sys_xattr.go
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2020-01-27 12:19:20 -0800
committergVisor bot <gvisor-bot@google.com>2020-01-27 12:50:18 -0800
commit13c1f38dfa215ab3e3cc70642721f55ab226d5b7 (patch)
tree5f6f62fc4fb8c7407d1dcb7e0f1c404f8c929604 /pkg/sentry/syscalls/linux/sys_xattr.go
parent6b14be4246e8ed3779bf69dbd59e669caf3f5704 (diff)
Update bug number for supporting extended attribute namespaces.
PiperOrigin-RevId: 291774815
Diffstat (limited to 'pkg/sentry/syscalls/linux/sys_xattr.go')
-rw-r--r--pkg/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 100644
--- 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
}