void-packages/srcpkgs/elogind/patches/id-nobody.patch
2021-05-07 14:45:24 -03:00

13 lines
377 B
Diff

--- src/basic/user-util.h
+++ src/basic/user-util.h
@@ -70,8 +70,8 @@ int take_etc_passwd_lock(const char *root);
#define UID_INVALID ((uid_t) -1)
#define GID_INVALID ((gid_t) -1)
-#define UID_NOBODY ((uid_t) 65534U)
-#define GID_NOBODY ((gid_t) 65534U)
+#define UID_NOBODY ((uid_t) 99U)
+#define GID_NOBODY ((gid_t) 99U)
#define ETC_PASSWD_LOCK_PATH "/etc/.pwd.lock"