Patch "selftests/bpf: Add selftest deny_namespace to s390x deny list" has been added to the 6.1-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 selftest deny_namespace to s390x deny list

to the 6.1-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-selftest-deny_namespace-to-s390x-d.patch
and it can be found in the queue-6.1 subdirectory.

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



commit 8198d08d8f04fa02b981f0bfb31143ec48dbaa87
Author: Yonghong Song <yhs@xxxxxx>
Date:   Wed Oct 5 22:34:29 2022 -0700

    selftests/bpf: Add selftest deny_namespace to s390x deny list
    
    [ Upstream commit 8206e4e95230daeeba43c59fc7c39656883ecd62 ]
    
    BPF CI reported that selftest deny_namespace failed with s390x.
    
      test_unpriv_userns_create_no_bpf:PASS:no-bpf unpriv new user ns 0 nsec
      test_deny_namespace:PASS:skel load 0 nsec
      libbpf: prog 'test_userns_create': failed to attach: ERROR: strerror_r(-524)=22
      libbpf: prog 'test_userns_create': failed to auto-attach: -524
      test_deny_namespace:FAIL:attach unexpected error: -524 (errno 524)
      #57/1    deny_namespace/unpriv_userns_create_no_bpf:FAIL
      #57      deny_namespace:FAIL
    
    BPF program test_userns_create is a BPF LSM type program which is
    based on trampoline and s390x does not support s390x. Let add the
    test to x390x deny list to avoid this failure in BPF CI.
    
    Signed-off-by: Yonghong Song <yhs@xxxxxx>
    Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20221006053429.3549165-1-yhs@xxxxxx
    Signed-off-by: Alexei Starovoitov <ast@xxxxxxxxxx>
    Stable-dep-of: aa8ebb270c66 ("selftests/bpf: Workaround strict bpf_lsm return value check.")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/testing/selftests/bpf/DENYLIST.s390x b/tools/testing/selftests/bpf/DENYLIST.s390x
index 17e074eb42b8a..0fb03b8047d53 100644
--- a/tools/testing/selftests/bpf/DENYLIST.s390x
+++ b/tools/testing/selftests/bpf/DENYLIST.s390x
@@ -75,3 +75,4 @@ user_ringbuf                             # failed to find kernel BTF type ID of
 lookup_key                               # JIT does not support calling kernel function                                (kfunc)
 verify_pkcs7_sig                         # JIT does not support calling kernel function                                (kfunc)
 kfunc_dynptr_param                       # JIT does not support calling kernel function                                (kfunc)
+deny_namespace                           # failed to attach: ERROR: strerror_r(-524)=22                                (trampoline)




[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