]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests/bpf: Fix attach point for non-x86 arches in test_progs/lsm
authorArtem Savkov <asavkov@redhat.com>
Tue, 16 Aug 2022 05:52:31 +0000 (07:52 +0200)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 16 Aug 2022 20:30:38 +0000 (13:30 -0700)
commit807662cac66af0dfca60ce1cf784063da6ec2f65
tree0c10af32598354d1096c31422531517933694406
parent1f235777c3a4ab115162fe7d45b82be534b9ae2e
selftests/bpf: Fix attach point for non-x86 arches in test_progs/lsm

Use SYS_PREFIX macro from bpf_misc.h instead of hard-coded '__x64_'
prefix for sys_setdomainname attach point in lsm test.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220816055231.717006-1-asavkov@redhat.com
tools/testing/selftests/bpf/DENYLIST.s390x
tools/testing/selftests/bpf/progs/lsm.c