Bugtraq mailing list archives

Re: Fwd: Any user can panic OpenBSD machine


From: chris () CYBERNET CO NZ (Chris Wedgwood)
Date: Wed, 29 Jul 1998 11:14:42 +1200


On Tue, Jul 28, 1998 at 03:03:44PM +0200, Felix Schroeter wrote:

Shouldn't the internal sum better be 64-bit? After all, FFS is able
to do files > 2^32 bytes...

No.

read(2), etc. return the number of bytes transferred - so it must be
within an unsigned machine word.

On OSs where the ABI supports large machine words than 32-bits, then
files over 2/4GB are indeed possible.




-cw



Current thread: