New: copy_file_range glibc user-space emulation in versions 2.27-2.29 only
https://bugzilla.kernel.org/show_bug.cgi?id=220489
Bug ID: 220489
Summary: copy_file_range glibc user-space emulation in versions
2.27-2.29 only
Product: Documentation
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: low
Priority: P3
Component: man-pages
Assignee: [email protected]
Reporter: [email protected]
Regression: NoCurrent version of the man page: "Linux 4.5, but glibc 2.27 provides a user-space emulation when it is not available."
However, glibc 2.30 changelog:
The copy_file_range function fails with ENOSYS if the kernel does not support the system call of the same name. Previously, user space emulation was performed, but its behavior did not match the kernel behavior, which was deemed too confusing. Applications which use the copy_file_range function can no longer rely on glibc to provide a fallback on kernels that do not support the copy_file_range system call, and if this function returns ENOSYS, they will need to use their own fallback. Support for copy_file_range for most architectures was added in version 4.5 of the mainline Linux kernel.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 220489] copy_file_range glibc user-space emulation in versions 2.27-2.29 only
https://bugzilla.kernel.org/show_bug.cgi?id=220489
--- Comment #1 from Wes Gibbs ([email protected]) ---
I emailed [email protected] with my plan/interest to work this ticket. Archive of this email shown at
https://lore.kernel.org/linux-man/[email protected]/T/#u
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 220489] copy_file_range glibc user-space emulation in versions 2.27-2.29 only
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=220489
--- Comment #2 from Wes Gibbs ([email protected]) ---
I'm aware of have some remaining feedback to address on this ticket, feedback that was provided by Alejandro Colomar that was sent on 2025-10-28 23:24. I will need to address this in a v3 patch. I will have this sent in in the next few days. Thank you for the peer review.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 220489] copy_file_range glibc user-space emulation in versions 2.27-2.29 only
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=220489
--- Comment #3 from Wes Gibbs ([email protected]) --- This submitted patch for ticket has been applied, per
https://lore.kernel.org/linux-man/teoitueevahxy7n3iqmtmxjbzqgzczoct3gwhq2jomqjplfhge@byvm3zezcb2k/T/#t
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 220489] copy_file_range glibc user-space emulation in versions 2.27-2.29 only
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=220489
Alejandro Colomar ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |[email protected]
Resolution|--- |DOCUMENTEDSignature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.