summaryrefslogtreecommitdiffstats
path: root/src/shared/user-record.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-01-09 10:37:27 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-01-09 11:15:00 +0100
commit8e1ac16bc6a18e47b3fa09a9bb1290fa7a99b85d (patch)
tree0ab94873c6ec922b81ba7b8a07b4b30b5db08970 /src/shared/user-record.c
parentsrc/basic: "UidRange" → "UIDRange" (diff)
downloadsystemd-8e1ac16bc6a18e47b3fa09a9bb1290fa7a99b85d.tar.xz
systemd-8e1ac16bc6a18e47b3fa09a9bb1290fa7a99b85d.zip
src/basic: rename uid-alloc-range.[ch] to uid-classification.[ch]
We had both uid-range.h and uid-alloc-range.h. The latter now contains helpers like {uid,gid}_is_{system,dynamic,container}(), uid_for_system_journal(), so the existing name is outdated. I think the uid-range.[ch] should stay separate because it has a bunch of helpers for parsing and printing of uid ranges. So let's rename as in $subject to better reflect the contents of the file and make the two sets of files harder to confuse.
Diffstat (limited to 'src/shared/user-record.c')
-rw-r--r--src/shared/user-record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/user-record.c b/src/shared/user-record.c
index 4bd547a6c6..654c4d3588 100644
--- a/src/shared/user-record.c
+++ b/src/shared/user-record.c
@@ -16,7 +16,7 @@
#include "rlimit-util.h"
#include "string-table.h"
#include "strv.h"
-#include "uid-alloc-range.h"
+#include "uid-classification.h"
#include "user-record.h"
#include "user-util.h"