Skip to content

virtiofsd: Add options to enable/disable posix acl

Vivek Goyal qemu-devel virtio-fs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 8 repliesIn review
  2. v13 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3virtiofsd: Add an option to enable/disable posix aclstools/virtiofsd/passthrough_ll.c+94 -12 replies
2/3virtiofsd: Add umask to seccom allow listtools/virtiofsd/passthrough_seccomp.c+1 -00 replies
3/3virtiofsd: Change umask if posix acls are enabledtools/virtiofsd/passthrough_ll.c+19 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] virtiofsd: Add options to enable/disable posix acl

Hi,

This is V2 of the patches. Changes since v1 are.

- Rebased on top of latest master.
- Took care of Miklos's comments to block acl xattrs if user explicitly disabled posix acl.

Luis Henriques reported that fstest generic/099 fails with virtiofs. Little debugging showed that we don't enable acl support. So this patch series provides option to enable/disable posix acl support. By default it is disabled.

I have run blogbench and pjdfstests with posix acl enabled and things work fine.

Luis, can you please apply these patches, and run virtiofsd with "-o posix_acl" and see if it fixes the failure you are seeing. I ran the steps you provided manually and it fixes the issue for me.

Vivek Goyal (3):
virtiofsd: Add an option to enable/disable posix acls
virtiofsd: Add umask to seccom allow list
virtiofsd: Change umask if posix acls are enabled

 tools/virtiofsd/passthrough_ll.c      | 119 ++++++++++++++++++++++++--
 tools/virtiofsd/passthrough_seccomp.c |   1 +
 2 files changed, 113 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.4