Subject: RE: LOGIN_NAME_MAX
To: Neil J. McRae <firstname.lastname@example.org>
From: John Nemeth <email@example.com>
Date: 10/19/2005 11:55:17
On Mar 5, 6:03am, "Neil J. McRae" wrote:
} > 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.
} I did this a few years ago and it was mostly ok, there was
} a few apps that didn't like it but it was fairly minimal. I
} raised PRs for the broken apps that I found IIRC.
I can't find any currently open PRs under your name. Do you
remember which apps had problems or have the PR numbers handy? Since
nobody else responded, I'm guessing there aren't too many problems or
any particular reason for not increasing LOGIN_NAME_MAX.
}-- End of excerpt from "Neil J. McRae"