Messages in this thread | | | Date | 19 May 2004 14:44:27 +0200 | Date | Wed, 19 May 2004 14:44:27 +0200 | From | Andi Kleen <> | Subject | Re: sendfile -EOVERFLOW on AMD64 |
| |
> (note error is int, not ssize_t), but I don't see anything obvious > for other filesystems.
sendfile64 on 32bit hosts seems to be quite fishy too.
It works with ssize_t, which is 32bit only, but there are no checks that the transfered file is not >4GB. It would just wrap in this case. It would be better to add such checks for 32bit hosts to sendfile64.
Or am I missing something?
-Andi - 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/
| |