qemu/tools/virtiofsd
Stefan Hajnoczi 1c7cb1f52e virtiofsd: drop CAP_DAC_READ_SEARCH
virtiofsd does not need CAP_DAC_READ_SEARCH because it already has
the more powerful CAP_DAC_OVERRIDE. Drop it from the list of
capabilities.

This is important because container runtimes may not include
CAP_DAC_READ_SEARCH by default. This patch allows virtiofsd to reduce
its capabilities when running inside a Docker container.

Note that CAP_DAC_READ_SEARCH may be necessary again in the future if
virtiofsd starts using open_by_handle_at(2).

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20200727190223.422280-2-stefanha@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2020-08-28 13:34:52 +01:00
..
50-qemu-virtiofsd.json.in
buffer.c
fuse_common.h
fuse_i.h
fuse_log.c
fuse_log.h
fuse_lowlevel.c
fuse_lowlevel.h
fuse_misc.h
fuse_opt.c
fuse_opt.h
fuse_signals.c
fuse_virtio.c
fuse_virtio.h
helper.c virtiofsd: Remove "norace" from cmdline help and docs 2020-08-28 13:34:52 +01:00
meson.build tools/virtiofsd: convert to Meson 2020-08-21 06:30:09 -04:00
passthrough_helpers.h
passthrough_ll.c virtiofsd: drop CAP_DAC_READ_SEARCH 2020-08-28 13:34:52 +01:00
passthrough_seccomp.c tools/virtiofsd: convert to Meson 2020-08-21 06:30:09 -04:00
passthrough_seccomp.h tools/virtiofsd: convert to Meson 2020-08-21 06:30:09 -04:00