kern/92243: sendfile(2) returns early on files > 4GB

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Jan 31 06:16:16 PST 2006


In message <200601311410.k0VEAASn057130 at freefall.freebsd.org>, Yar Tikhiy write
s:

> Quite curiously, changing the type of the size argument to
> vnode_create_vobject() from size_t to off_t seems to remedy the
> problem in my case.  Let's ask Poul-Henning, who introduced the
> kernel function a year ago, what he thinks about this -- adding him
> to CC.

Oversight on my part.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-bugs mailing list