]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/home/home-util.h
homed: move HOME_UID_{MIN,MAX} into a header we can reuse in homework.c
[thirdparty/systemd.git] / src / home / home-util.h
index fba1c7d8f1d4efb73c79201787f13bdcc770ec7d..f7bf637dd2ea215372daf90fd0dda321b8dd56ff 100644 (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);