* lib/idpriv-drop.c (idpriv_drop): Use uid_t and gid_t instead of int.
+2024-06-25 Collin Funk <collin.funk1@gmail.com>
+
+ idpriv-drop: Handle large user and group ids.
+ * lib/idpriv-drop.c (idpriv_drop): Use uid_t and gid_t instead of int.
+
2024-06-25 Bruno Haible <bruno@clisp.org>
c-vazsprintf-gnu: Add tests.
idpriv_drop (void)
{
#if HAVE_GETUID
- int uid = getuid ();
+ uid_t uid = getuid ();
#endif
#if HAVE_GETGID
- int gid = getgid ();
+ gid_t gid = getgid ();
#endif
/* Drop the gid privilege first, because in some cases the gid privilege