google / gvisor

Application Kernel for Containers
https://gvisor.dev
Apache License 2.0
15.75k stars 1.29k forks source link

Extended attribute support: get/set/list/removexattr #1636

Open gvisor-bot opened 4 years ago

gvisor-bot commented 4 years ago

Plumbing for in-memory extended attributes exists internally, but the get/set/listxattr syscalls are not implemented.

Some extended attributes will need to be propagated to the remote filesystem. This will require extending 9p protocol, but should be straightforward.

We may want to enforce a whitelist of allowed attributes for remote filesystems, in order to prevent apps from setting potentially dangerous attributes, or reading attribute values that they should not be able to see.

dean-deng commented 4 years ago

The syscalls are now implemented, but we need to add support for runsc filesystem gofers.

github-actions[bot] commented 1 year ago

A friendly reminder that this issue had no activity for 120 days.

ayushr2 commented 1 year ago

xattr syscalls are supported. Only runsc fsgofer doesn't support them. We will add support if need arises. For now, it is WAI.

github-actions[bot] commented 1 year ago

There are TODOs still referencing this issue:

  1. test/syscalls/linux/inotify.cc:1921: Support extended attributes in runsc gofer.
  2. test/syscalls/linux/inotify.cc:2456: Support extended attributes in runsc gofer.

Search TODO

github-actions[bot] commented 9 months ago

A friendly reminder that this issue had no activity for 120 days.