Date: Fri, 26 Jun 2009 17:57:57 +0200 From: Jilles Tjoelker <jilles@stack.nl> To: Ken Smith <kensmith@cse.Buffalo.EDU> Cc: freebsd-arch@freebsd.org Subject: Re: Time to drop the warning for uid's bigger than USHRT_MAX? Message-ID: <20090626155757.GA89856@stack.nl> In-Reply-To: <1245955512.20785.14.camel@bauer.cse.buffalo.edu> References: <1245955512.20785.14.camel@bauer.cse.buffalo.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 25, 2009 at 02:45:12PM -0400, Ken Smith wrote: > John's work on the SYSV IPC stuff removes the last place I'm aware of > that had an issue with uid's bigger than what will fit inside an > unsigned short. So, a couple questions: > 1) Does anyone know of any remaining places I'm not aware of? sa(8) has a problem with the uid 1380275712 (probably 5653842 on big endian systems). This is because uid_compare() in usrdb.c does not take the version key (#define VERSION_KEY "\0VERSION" in db.c) into account. -- Jilles Tjoelker
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090626155757.GA89856>