Time to drop the warning for uid's bigger than USHRT_MAX?

Jilles Tjoelker jilles at stack.nl
Fri Jun 26 15:58:26 UTC 2009


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


More information about the freebsd-arch mailing list