32bit UID support for glibc 2.1.3

Ulrich Drepper drepper@cygnus.com
Wed Jan 12 04:27:00 GMT 2000


Andreas Jaeger <aj@suse.de> writes:

> The normal stat call only returns a 16bit uid.  To get 32bit uids we
> have to use stat64 and convert struct stat64 to struct stat with
> checking for overflow (some entries in struct stat and struct stat64
> have different sizes).  
> 
> Anybody with another idea how to solve the problem?

Look at the reality.  I think that even though those fields have
larger types the values are not really larger and we can get along
with a simple assignment.  The field type for stat64 are chosen after
the glibc version of stat64 not (only) because of changed kernel
requirements.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


More information about the Libc-alpha mailing list