From: Linus Torvalds <torvalds@linux-foundation.org>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>,
Andrew Morton <akpm@linux-foundation.org>,
Christoph Hellwig <hch@lst.de>, Al Viro <viro@zeniv.linux.org.uk>,
linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fs: change sys_truncate/sys_ftruncate length parameter type
Date: Wed, 23 Sep 2009 10:18:39 -0700 (PDT) [thread overview]
Message-ID: <alpine.LFD.2.01.0909231015470.3303@localhost.localdomain> (raw)
In-Reply-To: <4ABA4D53.2040607@zytor.com>
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
prev parent reply other threads:[~2009-09-23 17:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-23 15:03 [PATCH] fs: change sys_truncate/sys_ftruncate length parameter type Heiko Carstens
2009-09-23 15:13 ` Linus Torvalds
2009-09-23 15:49 ` Heiko Carstens
2009-09-23 16:31 ` H. Peter Anvin
2009-09-23 17:18 ` Linus Torvalds [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.01.0909231015470.3303@localhost.localdomain \
--to=torvalds@linux-foundation.org \
--cc=akpm@linux-foundation.org \
--cc=hch@lst.de \
--cc=heiko.carstens@de.ibm.com \
--cc=hpa@zytor.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.