Page MenuHomeFreeBSD

sendfile: remove COMPAT_FREEBSD4 from kern_sendfile
Needs ReviewPublic

Authored by brooks on Wed, Aug 26, 12:34 PM.
Tags
None
Referenced Files
F172317569: D59198.diff
Thu, Sep 17, 4:57 PM
F172279146: D59198.id.diff
Thu, Sep 17, 10:46 AM
Unknown Object (File)
Mon, Sep 14, 12:27 AM
Unknown Object (File)
Fri, Sep 11, 8:49 PM
Unknown Object (File)
Thu, Sep 10, 2:51 PM
Unknown Object (File)
Tue, Sep 8, 3:30 PM
Unknown Object (File)
Sun, Sep 6, 8:48 PM
Unknown Object (File)
Sun, Sep 6, 7:56 PM
Subscribers

Details

Reviewers
markj
Summary

Move compat bits into a wrapper around the copyin of the header's
iovec.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 76188
Build 73071: arc lint + arc unit

Event Timeline

This is a bit more complex than I was hoping. I do wonder if we really need all of these separate callbacks, vs. one callback for the initial copyin plus the header and trailer copyins. That would require a bit more code in the callbacks but seems simpler overall.

Anyway, it's a minor point. I'm okay with the original change as it is.