homed: move HOME_UID_{MIN,MAX} into a header we can reuse in homework.c

This commit is contained in:
Lennart Poettering
2021-10-27 17:37:14 +02:00
parent eef5ebec97
commit f509ed4b61
2 changed files with 4 additions and 3 deletions
+4
View File
@@ -8,6 +8,10 @@
#include "time-util.h"
#include "user-record.h"
/* See https://systemd.io/UIDS-GIDS for details how this range fits into the rest of the world */
#define HOME_UID_MIN 60001
#define HOME_UID_MAX 60513
bool suitable_user_name(const char *name);
int suitable_realm(const char *realm);
int suitable_image_path(const char *path);
-3
View File
@@ -13,9 +13,6 @@ typedef struct Manager Manager;
#include "homed-home.h"
#include "varlink.h"
#define HOME_UID_MIN 60001
#define HOME_UID_MAX 60513
struct Manager {
sd_event *event;
sd_bus *bus;