From 81b9d87bae23efc42e2121ac066fe38fceb96124 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 31 Aug 2018 13:07:47 -0700 Subject: test-container: Use xcopy_file_range for cross-device copy [BZ #23597] copy_file_range can't be used to copy a file from glibc source directory to glibc build directory since they may be on different filesystems. This patch adds xcopy_file_range for cross-device copy. Reviewed-by: Carlos O'Donell [BZ #23597] * support/Makefile (libsupport-routines): Add support_copy_file_range and xcopy_file_range. * support/support.h: Include . (support_copy_file_range): New prototype. * support/support_copy_file_range.c: New file. Copied and modified from io/copy_file_range-compat.c. * support/test-container.c (copy_one_file): Call xcopy_file_rang instead of copy_file_range. * support/xcopy_file_range.c: New file. * support/xunistd.h (xcopy_file_range): New prototype. --- ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 21d914141c..5288a7e519 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2018-08-31 H.J. Lu + + [BZ #23597] + * support/Makefile (libsupport-routines): Add + support_copy_file_range and xcopy_file_range. + * support/support.h: Include . + (support_copy_file_range): New prototype. + * support/support_copy_file_range.c: New file. Copied and + modified from io/copy_file_range-compat.c. + * support/test-container.c (copy_one_file): Call xcopy_file_rang + instead of copy_file_range. + * support/xcopy_file_range.c: New file. + * support/xunistd.h (xcopy_file_range): New prototype. + 2018-08-30 Carlos O'Donell * elf/tst-dlopen-aout.c: Include support/xthread.h. Use -- cgit v1.2.3