Page MenuHomeFreeBSD

linux: Fix ENOTSOCK handling in sendfile(2)
ClosedPublic

Authored by trasz on Oct 22 2021, 3:14 PM.
Tags
None
Referenced Files
F161955719: D32604.diff
Wed, Jul 8, 8:21 AM
F161880040: D32604.diff
Tue, Jul 7, 4:31 PM
Unknown Object (File)
May 23 2026, 3:45 AM
Unknown Object (File)
May 22 2026, 8:03 PM
Unknown Object (File)
May 21 2026, 7:57 AM
Unknown Object (File)
May 17 2026, 3:58 AM
Unknown Object (File)
May 17 2026, 3:58 AM
Unknown Object (File)
May 15 2026, 11:31 PM
Subscribers

Details

Summary

The Linux way for sendfile(2) to tell the application
to fallback to another way of copying data is by EINVAL,
not ENOTSOCK. This fixes package installation scripts
for Mono packages from Focal.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 42304
Build 39192: arc lint + arc unit