The patch titled Subject: selftests/exec: add non-regular to TEST_GEN_PROGS has been added to the -mm tree. Its filename is selftests-exec-add-non-regular-to-test_gen_progs.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/selftests-exec-add-non-regular-to-test_gen_progs.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/selftests-exec-add-non-regular-to-test_gen_progs.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx> Subject: selftests/exec: add non-regular to TEST_GEN_PROGS non-regular file needs to be compiled and then copied to the output directory. Remove it from TEST_PROGS and add it to TEST_GEN_PROGS. This removes error thrown by rsync when non-regular object isn't found: rsync: [sender] link_stat "/linux/tools/testing/selftests/exec/non-regular" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1333) [sender=3.2.3] Link: https://lkml.kernel.org/r/20220210171323.1304501-1-usama.anjum@xxxxxxxxxxxxx Fixes: 0f71241a8e32 ("selftests/exec: add file type errno tests") Signed-off-by: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx> Reported-by: "kernelci.org bot" <bot@xxxxxxxxxxxx> Reviewed-by: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx> Cc: Eric Biederman <ebiederm@xxxxxxxxxxxx> Cc: <stable@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- --- a/tools/testing/selftests/exec/Makefile~selftests-exec-add-non-regular-to-test_gen_progs +++ a/tools/testing/selftests/exec/Makefile @@ -3,8 +3,8 @@ CFLAGS = -Wall CFLAGS += -Wno-nonnull CFLAGS += -D_GNU_SOURCE -TEST_PROGS := binfmt_script non-regular -TEST_GEN_PROGS := execveat load_address_4096 load_address_2097152 load_address_16777216 +TEST_PROGS := binfmt_script +TEST_GEN_PROGS := execveat load_address_4096 load_address_2097152 load_address_16777216 non-regular TEST_GEN_FILES := execveat.symlink execveat.denatured script subdir # Makefile is a run-time dependency, since it's accessed by the execveat test TEST_FILES := Makefile _ Patches currently in -mm which might be from usama.anjum@xxxxxxxxxxxxx are selftests-exec-add-non-regular-to-test_gen_progs.patch selftests-set-the-build-variable-to-absolute-path.patch selftests-add-and-export-a-kernel-uapi-headers-path.patch selftests-correct-the-headers-install-path.patch selftests-futex-add-the-uapi-headers-include-variable.patch selftests-kvm-add-the-uapi-headers-include-variable.patch selftests-landlock-add-the-uapi-headers-include-variable.patch selftests-net-add-the-uapi-headers-include-variable.patch selftests-mptcp-add-the-uapi-headers-include-variable.patch selftests-vm-add-the-uapi-headers-include-variable.patch selftests-vm-remove-dependecy-from-internal-kernel-macros.patch