[Virtio-fs] [PATCH 23/24] vhost-user-fs: Implement drop CAP_FSETID functionality

Stefan Hajnoczi stefanha at redhat.com
Thu Feb 11 14:35:42 UTC 2021


On Tue, Feb 09, 2021 at 07:02:23PM +0000, Dr. David Alan Gilbert (git) wrote:
> From: Vivek Goyal <vgoyal at redhat.com>
> 
> As part of slave_io message, slave can ask to do I/O on an fd. Additionally
> slave can ask for dropping CAP_FSETID (if master has it) before doing I/O.
> Implement functionality to drop CAP_FSETID and gain it back after the
> operation.
> 
> This also creates a dependency on libcap-ng.

Is this patch only for the case where QEMU is running as root?

I'm not sure it will have any effect on a regular QEMU (e.g. launched by
libvirt).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virtio-fs/attachments/20210211/20bf0ebe/attachment.sig>


More information about the Virtio-fs mailing list