Subject: LOGIN_NAME_MAX
To: None <tech-userlevel@netbsd.org>
From: John Nemeth <jnemeth@victoria.tc.ca>
List: tech-userlevel
Date: 10/13/2005 00:13:16
LOGIN_NAME_MAX is currently defined as:
./sys/sys/syslimits.h:#define LOGIN_NAME_MAX 17 /* max login name length incl. NUL */
However, our struct utmpx has:
#define _UTX_USERSIZE 32
char ut_name[_UTX_USERSIZE]; /* login name */
Is there a reason that LOGIN_NAME_MAX is only half the size of
_UTX_USERSIZE? I'm thinking of bumping up LOGIN_NAME_MAX and seeing if
anything breaks.