Re: [RFC] Heads up on sys_fallocate()
From: Christoph Hellwig <hch@infradead.org>
Date: 2007-03-01 23:51:06
Also in:
linux-fsdevel, lkml
From: Christoph Hellwig <hch@infradead.org>
Date: 2007-03-01 23:51:06
Also in:
linux-fsdevel, lkml
On Thu, Mar 01, 2007 at 05:29:15PM -0600, Eric Sandeen wrote:
Amit K. Arora wrote: Might want more error checking in there, something like (rough cut)... (or is some of this glibc's job?)
Yeah, we need to have this checks. We can't rely on userspace not passing arguments that might corrupt your filesystem or let you escalate privilegues.
which would keep things in line with posix_fallocate's specified errors, too?
Yes, very good idea.