summaryrefslogtreecommitdiffstats
path: root/src/core/namespace.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-10-07 06:40:55 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-10-08 22:39:54 +0200
commitedd3f4d9b7a63dc9a142ef20119e80d1d9527f2f (patch)
treede92320ffd8d6ebf4d747073bdf3f97ddbd20652 /src/core/namespace.c
parentMerge pull request #34675 from poettering/dupfd-query (diff)
downloadsystemd-edd3f4d9b7a63dc9a142ef20119e80d1d9527f2f.tar.xz
systemd-edd3f4d9b7a63dc9a142ef20119e80d1d9527f2f.zip
core: drop implicit support of PrivateUsers=off
Follow-up for fa693fdc7e17618958c505af4b2f39ecd1c3363e. The documentation says the option takes a boolean or one of the "self" and "identity". But the parser uses private_users_from_string() which also accepts "off". Let's drop the implicit support of "off".
Diffstat (limited to 'src/core/namespace.c')
-rw-r--r--src/core/namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c
index b7fe4ffbcc..6909fb4a06 100644
--- a/src/core/namespace.c
+++ b/src/core/namespace.c
@@ -3229,7 +3229,7 @@ static const char* const private_tmp_table[_PRIVATE_TMP_MAX] = {
DEFINE_STRING_TABLE_LOOKUP_WITH_BOOLEAN(private_tmp, PrivateTmp, PRIVATE_TMP_CONNECTED);
static const char* const private_users_table[_PRIVATE_USERS_MAX] = {
- [PRIVATE_USERS_OFF] = "off",
+ [PRIVATE_USERS_NO] = "no",
[PRIVATE_USERS_SELF] = "self",
[PRIVATE_USERS_IDENTITY] = "identity",
};