summaryrefslogtreecommitdiffstats
path: root/man/systemd-nsresourced.service.xml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* man: convert multiple left-over "See Also" sections to <simplelist>Lennart Poettering2024-11-051-8/+8
| | | | | | | These were forgotten during the initial conversion, probably because most of them consisted only of a single entry. Fix that.
* man: fix typoYu Watanabe2024-09-191-1/+1
| | | | Follow-up for 8aee931e7ae1adb01eeac0e1e4c0aef6ed3969ec.
* nsresourced: add new daemon for granting clients user namespaces and ↵Lennart Poettering2024-04-061-0/+81
assigning resources to them This adds a small, socket-activated Varlink daemon that can delegate UID ranges for user namespaces to clients asking for it. The primary call is AllocateUserRange() where the user passes in an uninitialized userns fd, which is then set up. There are other calls that allow assigning a mount fd to a userns allocated that way, to set up permissions for a cgroup subtree, and to allocate a veth for such a user namespace. Since the UID assignments are supposed to be transitive, i.e. not permanent, care is taken to ensure that users cannot create inodes owned by these UIDs, so that persistancy cannot be acquired. This is implemented via a BPF-LSM module that ensures that any member of a userns allocated that way cannot create files unless the mount it operates on is owned by the userns itself, or is explicitly allowelisted. BPF LSM program with contributions from Alexei Starovoitov.