<div dir="ltr">Thanks for the clarification, Florian!<br><div><br></div><div>..Thomas</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 27, 2022 at 2:45 PM Florian Weimer <<a href="mailto:fweimer@redhat.com">fweimer@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">* Thomas Stüfe:<br>
<br>
> do I understand this correctly: by backporting the user-space<br>
> emulation for copy_file_range, glibc 2.27 broke compatibility with<br>
> kernels < 4.5?<br>
><br>
> If yes, why did glibc not retain the emulation for the ENOSYS case?<br>
<br>
The emulation was buggy in corner cases, and the kernel kept changing<br>
behavior, too.  With the current implementation, an application can<br>
decide whether they want to roll their own slightly dodgy copying loop<br>
if there is no kernel support.  With the emulation present, that wasn't<br>
possible.<br>
<br>
(Not sure if the <<a href="mailto:fweimer@openjdk.org" target="_blank">fweimer@openjdk.org</a>> address works.)<br>
<br>
Thanks,<br>
Florian<br>
<br>
</blockquote></div>