Page MenuHomeFreeBSD

linux: Fix ENOTSOCK handling in sendfile(2)
ClosedPublic

Authored by trasz on Oct 22 2021, 3:14 PM.
Tags
None
Referenced Files
F132671020: D32604.id97306.diff
Sat, Oct 18, 10:33 PM
Unknown Object (File)
Sun, Oct 12, 1:14 PM
Unknown Object (File)
Fri, Oct 10, 11:47 AM
Unknown Object (File)
Sat, Sep 27, 9:32 AM
Unknown Object (File)
Thu, Sep 25, 10:39 PM
Unknown Object (File)
Sep 15 2025, 6:57 AM
Unknown Object (File)
Sep 10 2025, 5:40 AM
Unknown Object (File)
Aug 28 2025, 6:03 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable