[Virtio-fs] [PATCH 0/2] virtiofsd: Two fix for xattr operation

Miklos Szeredi mszeredi at redhat.com
Fri Oct 18 07:16:36 UTC 2019


On Thu, Oct 17, 2019 at 6:48 PM Miklos Szeredi <mszeredi at redhat.com> wrote:

> Even simpler: allow O_PATH descriptors for f*xattr().

Attached patch.  Will post shortly.

However, I think it would make sense to fix virtiofsd as well, as this
will take time to percolate down, even if Al doesn't find anything
wrong with it.

Doing unshare(CLONE_FS) after thread startup seems safe, though must
be careful to change the working directory to the root of the mount
*before* starting any threads.

Thanks,
Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xattr-allow-o_path-descriptors.patch
Type: text/x-patch
Size: 1223 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virtio-fs/attachments/20191018/eec80dab/attachment.bin>


More information about the Virtio-fs mailing list