Subject: Re: long usernames
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 02/14/2003 10:44:13
On Fri, Feb 14, 2003 at 11:12:40AM +0100, Martin Husemann wrote:
> On Fri, Feb 14, 2003 at 09:52:06AM +0000, David Laight wrote:
> 
> > I think the actual purpose of this is to save the name of the user,
> > in the specific case where there are multiple usernames with the
> > same uid.
> 
> In that case - why is there a limit on the name imposed by the kernel at all,
> besides some arbitrary large one, like the general resource limits?

In this case there is also a well defined system limit which is
meant to match!

Supporting longer names would really need the setlogname system
call changing so that the length is passed in.

I'm all for removing all these build time hard limits, this one
is rather lower down my list than those based on MAXUSERS and
things like NGROUPS.

	David

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