Patch "selftests/bpf: Add missed ima_setup.sh in Makefile" has been added to the 5.18-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    selftests/bpf: Add missed ima_setup.sh in Makefile

to the 5.18-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     selftests-bpf-add-missed-ima_setup.sh-in-makefile.patch
and it can be found in the queue-5.18 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 064e08d14463c89c82d5c23c814d314a124f00ce
Author: Hangbin Liu <liuhangbin@xxxxxxxxx>
Date:   Mon May 16 12:00:20 2022 +0800

    selftests/bpf: Add missed ima_setup.sh in Makefile
    
    [ Upstream commit 70a1b25326dd77e145157ccf1a31c1948032eec4 ]
    
    When build bpf test and install it to another folder, e.g.
    
      make -j10 install -C tools/testing/selftests/ TARGETS="bpf" \
            SKIP_TARGETS="" INSTALL_PATH=/tmp/kselftests
    
    The ima_setup.sh is missed in target folder, which makes test_ima failed.
    
    Fix it by adding ima_setup.sh to TEST_PROGS_EXTENDED.
    
    Fixes: 34b82d3ac105 ("bpf: Add a selftest for bpf_ima_inode_hash")
    Signed-off-by: Hangbin Liu <liuhangbin@xxxxxxxxx>
    Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx>
    Acked-by: Yonghong Song <yhs@xxxxxx>
    Link: https://lore.kernel.org/bpf/20220516040020.653291-1-liuhangbin@xxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile
index a15c47d2fa73..6e2383701ce0 100644
--- a/tools/testing/selftests/bpf/Makefile
+++ b/tools/testing/selftests/bpf/Makefile
@@ -75,7 +75,7 @@ TEST_PROGS := test_kmod.sh \
 	test_xsk.sh
 
 TEST_PROGS_EXTENDED := with_addr.sh \
-	with_tunnels.sh \
+	with_tunnels.sh ima_setup.sh \
 	test_xdp_vlan.sh test_bpftool.py
 
 # Compile but not part of 'make run_tests'



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux