This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: 32bit UID support for glibc 2.1.3
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 `------------------------