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)
Mon, Jan 20, 8:56 PM
Unknown Object (File)
Mon, Jan 20, 8:22 PM
Unknown Object (File)
Wed, Jan 1, 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
Unknown Object (File)
Dec 3 2024, 8:44 PM
Unknown Object (File)
Dec 3 2024, 8:23 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