[7445] in bugtraq
Re: Fwd: Any user can panic OpenBSD machine
daemon@ATHENA.MIT.EDU (Chris Wedgwood)
Wed Jul 29 00:32:40 1998
Date: Wed, 29 Jul 1998 11:14:42 +1200
Reply-To: Chris Wedgwood <chris@CYBERNET.CO.NZ>
From: Chris Wedgwood <chris@CYBERNET.CO.NZ>
X-To: Warner Losh <imp@VILLAGE.ORG>
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To: <19980728150344.05536@schlund.de>; from Felix Schroeter on Tue,
Jul 28, 1998 at 03:03:44PM +0200
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