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
Unknown Object (File)
Wed, Aug 26, 7:03 PM
Unknown Object (File)
Wed, Aug 26, 3:57 PM
Unknown Object (File)
Wed, Aug 26, 3:55 PM
Unknown Object (File)
Wed, Aug 26, 3:50 PM
Unknown Object (File)
Wed, Aug 26, 2:14 PM
Unknown Object (File)
Wed, Aug 26, 2:06 PM
Unknown Object (File)
Wed, Aug 26, 1:46 PM
Unknown Object (File)
Wed, Aug 26, 1:40 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.