diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2024-01-09 10:37:27 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2024-01-09 11:15:00 +0100 |
commit | 8e1ac16bc6a18e47b3fa09a9bb1290fa7a99b85d (patch) | |
tree | 0ab94873c6ec922b81ba7b8a07b4b30b5db08970 /src/home | |
parent | src/basic: "UidRange" → "UIDRange" (diff) | |
download | systemd-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/home')
-rw-r--r-- | src/home/homectl.c | 2 | ||||
-rw-r--r-- | src/home/homed-home.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/home/homectl.c b/src/home/homectl.c index 5a2eb8f31b..222bf36e58 100644 --- a/src/home/homectl.c +++ b/src/home/homectl.c @@ -42,7 +42,7 @@ #include "rlimit-util.h" #include "spawn-polkit-agent.h" #include "terminal-util.h" -#include "uid-alloc-range.h" +#include "uid-classification.h" #include "user-record.h" #include "user-record-password-quality.h" #include "user-record-show.h" diff --git a/src/home/homed-home.c b/src/home/homed-home.c index 787dc773ac..ea86dffb52 100644 --- a/src/home/homed-home.c +++ b/src/home/homed-home.c @@ -38,7 +38,7 @@ #include "stat-util.h" #include "string-table.h" #include "strv.h" -#include "uid-alloc-range.h" +#include "uid-classification.h" #include "user-record-password-quality.h" #include "user-record-sign.h" #include "user-record-util.h" |