sendfile() more defailed information ? anyone ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi List,
there was a discussion on the busybox-ml about a kernel-bug in sendfile(). 
<cite>
In 2.6.33.7, when used with a normal file as the output, it always
writes the data to offset 0 in the file.

That's fine if you only call it once and then close the output
fd. However, if you call it multiple times (as busybox 'cat' does when
copying multiple files), then you don't get the expected result. The
contents of the input files are not concatenated. Instead the contents
of each input file overwites the existing contents of the output file
starting at offset 0.
</cite>

these apache doc mentions more problems
https://httpd.apache.org/docs/2.4/mod/core.html#enablesendfile

It seems that the bug mentioned above is fixed but nobody seems to know when this was done.

IMHO this should be mentioned in the man page, but i lack detailed information and time to research them. 
I would like to encourage anyone who has information to  come forward so it can be added to man page.

re,
 wh



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux