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)
Thu, Oct 17, 9:07 AM
Unknown Object (File)
Oct 3 2024, 2:28 PM
Unknown Object (File)
Sep 24 2024, 4:32 PM
Unknown Object (File)
Sep 23 2024, 1:55 AM
Unknown Object (File)
Sep 22 2024, 10:30 PM
Unknown Object (File)
Sep 22 2024, 8:10 PM
Unknown Object (File)
Sep 18 2024, 4:37 PM
Unknown Object (File)
Sep 17 2024, 8:43 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