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, Feb 4, 2:52 AM
Unknown Object (File)
Wed, Jan 29, 9:18 AM
Unknown Object (File)
Jan 20 2025, 8:56 PM
Unknown Object (File)
Jan 20 2025, 8:22 PM
Unknown Object (File)
Jan 1 2025, 4:48 PM
Unknown Object (File)
Dec 8 2024, 10:00 AM
Unknown Object (File)
Dec 3 2024, 8:44 PM
Unknown Object (File)
Dec 3 2024, 8:44 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