Brian Gupta wrote:
Why not introduce a new syscall(?) to dynamically query the username length, 
where the setting is set by the admin? (Maybe in /etc/system, maybe somewhere 
else) That way programs have an option of being compiled in a future safe 
method. New programming guidelines would recommend that developers change to 
the new methods. The syscall settings default would be set to 8 bytes by 
default.

New functions don't help old applications.

A syscall here isn't actually the correct way to do it anyway since for the most part the kernel doesn't deal in usernames only uids.

See also:

http://opensolaris.org/os/community/security/library/long_usernames/

--
Darren J Moffat
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to