Subject: Re: using long usernames
To: Perry E. Metzger <perry@piermont.com>
From: Christos Zoulas <christos@zoulas.com>
List: port-sparc
Date: 02/24/2003 15:21:28
On Feb 24, 3:05pm, perry@piermont.com ("Perry E. Metzger") wrote:
-- Subject: Re: using long usernames
|
| David Laight <david@l8s.co.uk> writes:
| > > fgrep LOGIN_NAME /usr/src/sys/sys/*.h
| >
| > That list shows what looks like a nice little bug in systrace.
| > A couple of arrays are defined 'char username[MAXLOGNAME];'
|
| netkey/key.c also uses MAXLOGNAME instead of LOGIN_NAME_MAX, but it
| isn't clear it is a bug... so does sys/proc.h, kern/kern_sysctl.c, and
| a bunch of other stuff...
|
| I must say, id-utils is a damn useful tool. :)
I like grep :-)
/usr/src/sys/sys/param.h:#define MAXLOGNAME (LOGIN_NAME_MAX - 1) /* max login name length */
christos