diff options
author | Dean Deng <deandeng@google.com> | 2020-01-27 12:19:20 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-27 12:50:18 -0800 |
commit | 13c1f38dfa215ab3e3cc70642721f55ab226d5b7 (patch) | |
tree | 5f6f62fc4fb8c7407d1dcb7e0f1c404f8c929604 | |
parent | 6b14be4246e8ed3779bf69dbd59e669caf3f5704 (diff) |
Update bug number for supporting extended attribute namespaces.
PiperOrigin-RevId: 291774815
-rw-r--r-- | pkg/sentry/syscalls/linux/sys_xattr.go | 1 | ||||
-rw-r--r-- | test/syscalls/linux/xattr.cc | 2 |
2 files changed, 2 insertions, 1 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 } diff --git a/test/syscalls/linux/xattr.cc b/test/syscalls/linux/xattr.cc index e77c355d7..ab21d68c6 100644 --- a/test/syscalls/linux/xattr.cc +++ b/test/syscalls/linux/xattr.cc @@ -131,7 +131,7 @@ TEST_F(XattrTest, XattrWriteOnly_NoRandomSave) { } TEST_F(XattrTest, XattrTrustedWithNonadmin) { - // TODO(b/127675828): Support setxattr and getxattr with "trusted" prefix. + // TODO(b/148380782): Support setxattr and getxattr with "trusted" prefix. SKIP_IF(IsRunningOnGvisor()); SKIP_IF(ASSERT_NO_ERRNO_AND_VALUE(HaveCapability(CAP_SYS_ADMIN))); |