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.
This commit is contained in:
@@ -171,7 +171,7 @@ simple_tests += files(
|
||||
'test-terminal-util.c',
|
||||
'test-tmpfile-util.c',
|
||||
'test-udev-util.c',
|
||||
'test-uid-alloc-range.c',
|
||||
'test-uid-classification.c',
|
||||
'test-uid-range.c',
|
||||
'test-umask-util.c',
|
||||
'test-unaligned.c',
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#include "tests.h"
|
||||
#include "tmpfile-util.h"
|
||||
#include "tomoyo-util.h"
|
||||
#include "uid-alloc-range.h"
|
||||
#include "uid-classification.h"
|
||||
#include "user-util.h"
|
||||
#include "virt.h"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "fs-util.h"
|
||||
#include "tests.h"
|
||||
#include "tmpfile-util.h"
|
||||
#include "uid-alloc-range.h"
|
||||
#include "uid-classification.h"
|
||||
|
||||
static void test_read_login_defs_one(const char *path) {
|
||||
log_info("/* %s(\"%s\") */", __func__, path ?: "<custom>");
|
||||
Reference in New Issue
Block a user