]> git.ipfire.org Git - thirdparty/systemd.git/commit
src/basic: rename uid-alloc-range.[ch] to uid-classification.[ch] 30844/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 9 Jan 2024 09:37:27 +0000 (10:37 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 9 Jan 2024 10:15:00 +0000 (11:15 +0100)
commit8e1ac16bc6a18e47b3fa09a9bb1290fa7a99b85d
tree0ab94873c6ec922b81ba7b8a07b4b30b5db08970
parenteb7d7d14fbc100bcf856050cbaee67776d955926
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.
19 files changed:
src/basic/meson.build
src/basic/uid-classification.c [moved from src/basic/uid-alloc-range.c with 99% similarity]
src/basic/uid-classification.h [moved from src/basic/uid-alloc-range.h with 100% similarity]
src/core/dynamic-user.c
src/coredump/coredump.c
src/dissect/dissect.c
src/home/homectl.c
src/home/homed-home.c
src/journal/journald-server.c
src/libsystemd/sd-journal/sd-journal.c
src/login/logind-session.c
src/login/logind-user.c
src/shared/condition.c
src/shared/group-record.c
src/shared/user-record.c
src/sysusers/sysusers.c
src/test/meson.build
src/test/test-condition.c
src/test/test-uid-classification.c [moved from src/test/test-uid-alloc-range.c with 99% similarity]