diff options
author | 2022-08-16 07:52:31 +0200 | |
---|---|---|
committer | 2022-08-16 13:30:38 -0700 | |
commit | 807662cac66af0dfca60ce1cf784063da6ec2f65 (patch) | |
tree | 0c10af32598354d1096c31422531517933694406 /tools/lib/bpf/libbpf.h | |
parent | libbpf: Making bpf_prog_load() ignore name if kernel doesn't support (diff) | |
download | wireguard-linux-807662cac66af0dfca60ce1cf784063da6ec2f65.tar.xz wireguard-linux-807662cac66af0dfca60ce1cf784063da6ec2f65.zip |
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
Diffstat (limited to 'tools/lib/bpf/libbpf.h')
0 files changed, 0 insertions, 0 deletions