[Virtio-fs] [PATCH] docs: describe the security considerations with virtiofsd xattr mapping

Harry G. Coin hgcoin at gmail.com
Wed Jun 16 04:31:52 UTC 2021


On 6/15/21 10:46 AM, Daniel P. Berrangé wrote:
>  - Store a symlinks' xattr on the target of the symlink
>
>    if the symlink has dev:inode  54:224, and points to
>    a file 'foo', then on 'foo' create an xattr
>    "user.virtiofs.link:54:224.<original xattrpath>"

Atomicity issues here.  If you do this, virtiofsd will need a 'xattr
write intent journal' somewhere....





More information about the Virtio-fs mailing list