Re: nfsv3d wrong truncates over 4G

From: Andi Kleen (ak@suse.de)
Date: Wed Oct 25 2000 - 20:56:46 EST


On Thu, Oct 26, 2000 at 12:06:17AM +0200, Andrea Arcangeli wrote:
> 2.2.18pre17aa1 allows anybody to open a file larger than 2G (that seems not to
> be completly in sync with the specs) but it has all the necessary runtime
> checks during read/write. Just search for O_LARGEFILE in the lfs patch. That
> needs to be forward ported to 2.4.x.

2.4 nfsd should already use O_LARGEFILE, I submitted a patch for it some
time ago and Linus included it.

It doesn't do the >2GB checking for v2, so a v2 client could in theory write
a 4GB-1 file.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:17 EST