stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + selftests-exec-add-non-regular-to-test_gen_progs.patch added to -mm tree
@ 2022-02-11 18:26 Andrew Morton
  2022-02-11 18:35 ` Shuah Khan
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2022-02-11 18:26 UTC (permalink / raw)
  To: mm-commits, stable, skhan, keescook, ebiederm, bot, usama.anjum, akpm


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@collabora.com>
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@collabora.com
Fixes: 0f71241a8e32 ("selftests/exec: add file type errno tests")
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Reported-by: "kernelci.org bot" <bot@kernelci.org>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---


--- 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@collabora.com 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: + selftests-exec-add-non-regular-to-test_gen_progs.patch added to -mm tree
  2022-02-11 18:26 + selftests-exec-add-non-regular-to-test_gen_progs.patch added to -mm tree Andrew Morton
@ 2022-02-11 18:35 ` Shuah Khan
  0 siblings, 0 replies; 2+ messages in thread
From: Shuah Khan @ 2022-02-11 18:35 UTC (permalink / raw)
  To: Andrew Morton, mm-commits, stable, keescook, ebiederm, bot,
	usama.anjum, Shuah Khan

On 2/11/22 11:26 AM, Andrew Morton wrote:
> 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@collabora.com>
> 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:
> 

Andrew,

I pushed this to linux-kselftest fixes for rc5. I can go drop it now,
and you can take this through yours.

thanks,
-- Shuah


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-11 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-11 18:26 + selftests-exec-add-non-regular-to-test_gen_progs.patch added to -mm tree Andrew Morton
2022-02-11 18:35 ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).