From: Jaromir Capik Date: Mon, 14 Jul 2014 14:21:52 +0000 (+0200) Subject: library: changing P_G_SZ from 20 to 33 X-Git-Tag: v3.3.10~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4ddc96bc1a0bc793da0fef96b414f0716071923;p=procps-ng library: changing P_G_SZ from 20 to 33 Nowadays the usernames can be 32 characters long (typically OpenShift usernames use the whole length) and the old limit was preventing us from processing them correctly. The macro change affects the proc_t structure size. --- diff --git a/proc/pwcache.h b/proc/pwcache.h index 678554d3..6ce34076 100644 --- a/proc/pwcache.h +++ b/proc/pwcache.h @@ -7,7 +7,7 @@ EXTERN_C_BEGIN // used in pwcache and in readproc to set size of username or groupname -#define P_G_SZ 20 +#define P_G_SZ 33 extern char *user_from_uid(uid_t uid); extern char *group_from_gid(gid_t gid);