Skip to content

Commit 8206e4e

Browse files
yonghong-songAlexei Starovoitov
authored andcommitted
selftests/bpf: Add selftest deny_namespace to s390x deny list
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 <[email protected]> Acked-by: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
1 parent ce3e44a commit 8206e4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/testing/selftests/bpf/DENYLIST.s390x

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,4 @@ user_ringbuf # failed to find kernel BTF type ID of
7575
lookup_key # JIT does not support calling kernel function (kfunc)
7676
verify_pkcs7_sig # JIT does not support calling kernel function (kfunc)
7777
kfunc_dynptr_param # JIT does not support calling kernel function (kfunc)
78+
deny_namespace # failed to attach: ERROR: strerror_r(-524)=22 (trampoline)

0 commit comments

Comments
 (0)