Page MenuHomeFreeBSD

linux: Fix ENOTSOCK handling in sendfile(2)
ClosedPublic

Authored by trasz on Oct 22 2021, 3:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 23, 4:51 PM
Unknown Object (File)
Jan 14 2024, 5:10 PM
Unknown Object (File)
Dec 21 2023, 10:14 PM
Unknown Object (File)
Dec 20 2023, 6:32 AM
Unknown Object (File)
Dec 16 2023, 11:58 AM
Unknown Object (File)
Dec 12 2023, 8:08 AM
Unknown Object (File)
Oct 30 2023, 3:20 PM
Unknown Object (File)
Oct 19 2023, 3:44 AM
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