[Virtio-fs] [virtiofsd-rs] MR merged: Reject sandbox modes != namespace when uid != 0

virtiofs-bot at sinrega.org virtiofs-bot at sinrega.org
Mon Dec 13 11:09:48 UTC 2021


Inside drop_child_capabilities() there is a call to capng:apply() that clears the bounding set. It causes libcap-ng to fail when calling virtiofsd-rs with '--sandbox none' by an unprivileged user, because it doesn't have the CAP_SETPCAP capability.
---
https://gitlab.com/virtio-fs/virtiofsd-rs/-/merge_requests/49




More information about the Virtio-fs mailing list