Messages in this thread | | | Date | Tue, 18 Nov 2003 17:05:09 +0100 | From | Andi Kleen <> | Subject | Re: OT: why no file copy() libc/syscall ?? |
| |
On Tue, 18 Nov 2003 15:49:21 +0000 Jamie Lokier <jamie@shareable.org> wrote:
> Andi Kleen wrote: > > > 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. > > That doesn't make sense. There aren't any existing users of sendfile > to copy files.
[ignore the mail, it was an stuck mail queue]
But note that arbitary changes in the signal handling would affect all users of sendfile, not just those that attempt to copy files or do other things that should be done in user space.
-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/
| |