Messages in this thread | | | Subject | Re: OT: why no file copy() libc/syscall ?? | From | Andi Kleen <> | Date | 14 Nov 2003 16:26:00 +0100 |
| |
"H. Peter Anvin" <hpa@zytor.com> writes:
> Andrea Arcangeli wrote: > > On Thu, Nov 13, 2003 at 04:36:26PM -0800, H. Peter Anvin wrote: > > > >>... or we could put in checks into the kernel for signal pending, and > >>return EINTR. > > > > that would be even better indeed. > > > > s/EINTR/short count/, of course :)
That would be buggy because existing users of sendfile don't know about this and would silently only copy part of the file when a signal happens.
-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/
| |