Re: [SECURITY] Re: PATCH: rm -rf and readdir bug in coreutils-6.7
From:
Andreas Schwab
Subject:
Re: [SECURITY] Re: PATCH: rm -rf and readdir bug in coreutils-6.7
Date:
Wed, 20 Dec 2006 20:00:50 +0100
User-agent:
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)
Mikulas Patocka <address@hidden> writes:
> They have 32-bit ino_t but 64-bit stat64.st_ino
> (stat64 has unsigned long long st_ino) --- although kernel has the
> deficiency that it can pass only 32-bit values to it --- BTW. can you
> accept that fact that sizeof(st_ino) > sizeof(ino_t) in coreutils?
You are comparing apple with oranges. If you use stat64 then you also use
ino64_t (either explicitly or trough LFS_CFLAGS).
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."