Messages in this thread | | | Date | Thu, 1 Mar 2007 23:51:01 +0000 | From | Christoph Hellwig <> | Subject | Re: [RFC] Heads up on sys_fallocate() |
| |
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.
- 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/
| |