Re: [PATCH] fs: change sys_truncate/sys_ftruncate length parametertype

From: Linus Torvalds
Date: Wed Sep 23 2009 - 13:19:04 EST




On Wed, 23 Sep 2009, H. Peter Anvin wrote:
>
> I would argue that the current behavior is, if not incorrect (we define our
> own ABI after all) at least unwanted (we want our ABI to be as close as
> practical to the POSIX API.)

I think we care a WHOLE LOT more about binary compatibility than we care
about some POSIX case for a braindamaged and fundamentally broken system
call anyway.

The thing is, ftruncate() should take loff_t these days, so the old POSIX
language is about a pointless system call where the _only_ thing that
matters is legacy - and that legacy trumps any POSIX concerns.

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