For alignment with upstream, we should remove the copy_file_range emulation in glibc. This will prevent people from running into bugs in the emulation. copy_file_range was backported into kernel-3.10.0-693.el7, so this change does not affect current Red Hat Enterprise Linux 7 kernel hosts.
Verified on x86_64 and ppc64le on kernel 3.10.0-514.el7, with static compiled test program which calls copy-file-range(), a sanity check on s390x and aarch64.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3513