From: Alexei Starovoitov Date: Wed, 16 Mar 2022 22:07:49 +0000 (-0700) Subject: Merge branch 'Remove libcap dependency from bpf selftests' X-Git-Tag: v5.18-rc1~136^2~11^2~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aaccdf9c93a00cc5eec6f9d97046b44643c60800;p=thirdparty%2Flinux.git Merge branch 'Remove libcap dependency from bpf selftests' Martin KaFai Lau says: ==================== After upgrading to the newer libcap (>= 2.60), the libcap commit aca076443591 ("Make cap_t operations thread safe.") added a "__u8 mutex;" to the "struct _cap_struct". It caused a few byte shift that breaks the assumption made in the "struct libcap" definition in test_verifier.c. This set is to remove the libcap dependency from the bpf selftests. v2: - Define CAP_PERFMON and CAP_BPF when the older does not have them. (Andrii) ==================== Signed-off-by: Alexei Starovoitov --- aaccdf9c93a00cc5eec6f9d97046b44643c60800