Date: Tue, 16 May 1995 06:29:22 +1000 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, pst@shockwave.com Cc: CVS-commiters@freefall.cdrom.com, ache@freefall.cdrom.com, cvs-etc@freefall.cdrom.com Subject: Re: cvs commit: src/etc master.passwd Message-ID: <199505152029.GAA09152@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> >The standard uid/group for nobody should be -2 -2 (65534, 65534). > > Even when (uid_t)-2 == 0xFFFFFFFEul ? >That's why I added the follow on 16 bit numbers. We're trying to be >network compatible, so we should stick to 16 bit uid/gid sign extension. What about mount/mount_ufs.c, which defines DEFAULT_ROOTUID as -2 and naively assigns it to a uid_t. This nobody has been very large for some time. There may be some (buggy) programs that expect to get -2 when they assign the uid to an int. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505152029.GAA09152>