Subject: Re: using long usernames
To: Christos Zoulas <christos@zoulas.com>
From: David Laight <david@l8s.co.uk>
List: port-sparc
Date: 02/24/2003 22:31:14
> | 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...

Some of those fields are not null terminated (in particular the s_login[]
field of the session structure).

> | I must say, id-utils is a damn useful tool. :)
> 
> I like grep :-)

$ find . -name '*.[csSh]'|xargs grep '\<name\>'

:-)

	David

-- 
David Laight: david@l8s.co.uk