Hi,

i found out that tools like 'id' and 'whoami' display the [UG]ID
4294967295 for the Hurd nouser.

This is because the IDs are handled as unsigned ints; GNU Libc says:

 - Data Type: uid_t
     This is an integer data type used to represent user IDs.  In the
     GNU library, this is an alias for `unsigned int'.

But, get*id() are returning -1 (signed) (-> 4294967295 (unsigned)) for
the nouser.

Should that be fixed?  If yes, how? Should we use a signed uid_t or
would that violate a standard?

        moritz
-- 
Moritz Schulte <[EMAIL PROTECTED]> http://www.chaosdorf.de/moritz/
Debian/GNU supporter - http://www.debian.org/ http://www.gnu.org/
GPG fingerprint = 3A14 3923 15BE FD57 FC06  B501 0841 2D7B 6F98 4199

_______________________________________________
Help-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-hurd

Reply via email to