Page MenuHomeFreeBSD

sendfile: remove COMPAT_FREEBSD4 from kern_sendfile
Needs ReviewPublic

Authored by brooks on Aug 26 2026, 12:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 19, 4:53 AM
Unknown Object (File)
Fri, Sep 18, 7:55 PM
Unknown Object (File)
Fri, Sep 18, 2:50 PM
Unknown Object (File)
Fri, Sep 18, 2:50 PM
Unknown Object (File)
Thu, Sep 17, 4:57 PM
Unknown Object (File)
Thu, Sep 17, 10:46 AM
Unknown Object (File)
Mon, Sep 14, 12:27 AM
Unknown Object (File)
Fri, Sep 11, 8:49 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.