qemu-e2k/tools/virtiofsd
Dr. David Alan Gilbert 6084633dff tools/virtiofsd: xattr name mappings: Add option
Add an option to define mappings of xattr names so that
the client and server filesystems see different views.
This can be used to have different SELinux mappings as
seen by the guest, to run the virtiofsd with less privileges
(e.g. in a case where it can't set trusted/system/security
xattrs but you want the guest to be able to), or to isolate
multiple users of the same name; e.g. trusted attributes
used by stacking overlayfs.

A mapping engine is used with 3 simple rules; the rules can
be combined to allow most useful mapping scenarios.
The ruleset is defined by -o xattrmap='rules...'.

This patch doesn't use the rule maps yet.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20201023165812.36028-2-dgilbert@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2020-10-26 18:35:32 +00:00
..
50-qemu-virtiofsd.json.in
buffer.c virtiofsd: use fuse_buf_writev to replace fuse_buf_write for better performance 2020-01-23 16:41:37 +00:00
fuse_common.h
fuse_i.h tools/virtiofsd: add support for --socket-group 2020-10-12 12:39:38 +01:00
fuse_log.c
fuse_log.h
fuse_lowlevel.c tools/virtiofsd: add support for --socket-group 2020-10-12 12:39:38 +01:00
fuse_lowlevel.h virtiofsd: add --rlimit-nofile=NUM option 2020-05-01 18:41:55 +01:00
fuse_misc.h
fuse_opt.c
fuse_opt.h
fuse_signals.c
fuse_virtio.c libvhost-user: Allow vu_message_read to be replaced 2020-10-23 13:42:16 +01:00
fuse_virtio.h
helper.c virtiofsd: add container-friendly -o sandbox=chroot option 2020-10-26 18:35:32 +00:00
meson.build configure: move directory options from config-host.mak to meson 2020-10-26 07:08:38 -04:00
passthrough_helpers.h
passthrough_ll.c tools/virtiofsd: xattr name mappings: Add option 2020-10-26 18:35:32 +00:00
passthrough_seccomp.c virtiofsd: Used glib "shared" thread pool 2020-09-25 12:45:58 +01:00
passthrough_seccomp.h tools/virtiofsd: convert to Meson 2020-08-21 06:30:09 -04:00