core: Add support for PrivateUsers=identity

This configures an indentity mapping similar to
systemd-nspawn --private-users=identity.
This commit is contained in:
Daan De Meyer
2024-09-09 18:31:01 +02:00
parent d8b4be38dd
commit fa693fdc7e
14 changed files with 191 additions and 48 deletions
+1 -1
View File
@@ -318,7 +318,7 @@ struct ExecContext {
PrivateTmp private_tmp;
bool private_network;
bool private_devices;
bool private_users;
PrivateUsers private_users;
bool private_ipc;
bool protect_kernel_tunables;
bool protect_kernel_modules;