1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 07:51:21 +03:00

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

This commit is contained in:
Lennart Poettering 2021-10-20 16:14:27 +02:00
parent eef5ebec97
commit f509ed4b61
2 changed files with 4 additions and 3 deletions

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);

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;