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:
parent
eef5ebec97
commit
f509ed4b61
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user