selftests/seccomp: Add LoongArch selftesting support
authorHuacai Chen <chenhuacai@loongson.cn>
Sat, 25 Feb 2023 07:52:57 +0000 (15:52 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sat, 25 Feb 2023 14:12:18 +0000 (22:12 +0800)
commiteb4071b988397144a35c4aa98061f587cbb3b467
treeae37591bc43fbc34e3d98d54365c443f29d91f3d
parent121ff07bdee06555835e26499f5c125223a6beb3
selftests/seccomp: Add LoongArch selftesting support

BPF for LoongArch is supported now, add the selftesting support in
seccomp_bpf.c.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
tools/testing/selftests/seccomp/seccomp_bpf.c