Re: [PATCH] Limit sendfile() to 2^31-PAGE_CACHE_SIZE bytes withouterror

From: Ulrich Drepper
Date: Wed Jan 04 2006 - 12:18:46 EST


Linus Torvalds wrote:
> Ok, this patch looks ok, if it's confirmed to unbreak apache.

Yes, sounds reasonable. But I don't think that, as Peter suggested in
another mail, that glibc should automatically wrap the syscall to
provide support for larger sizes. The caller probably should know when
a transfer was cut short.

--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â

Attachment: signature.asc
Description: OpenPGP digital signature