Re: ftruncate

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Oct 04 2001 - 16:35:18 EST


> that it does NOT pass on 2.4.10-ac4. It looks like the problem is with
> 2.4.11-pre1 and the testcase though if my man pages are right. The test
> is looking to get EACCESS back when the file is opened read only and
> ftruncate is called on it, but the man page says it should actually
> return EINVAL.
>
> A fixed version of this testcase will be in our next release. I know
> it's fairly trivial, but it would be nice to see this fix synced up with
> Linus's tree.

There are about 10 standards violations in the Linus tree against file
truncation behaviour (things like ftruncate > 2Gb without 64bit etc).
Merging them with the current scale of the fs/block changes in the current
Linus tree and their rate of change isnt feasible
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:34 EST