aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/Makefile
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2023-03-10 12:47:51 -0800
committerAlexei Starovoitov <ast@kernel.org>2023-03-10 12:54:12 -0800
commite8c8361cfdbf450f760e8a2bdbd4222d1947366b (patch)
tree5c1e10ba7a7146018a51789e69b7ffc2aa32f955 /tools/testing/selftests/Makefile
parent32513d40d908b267508d37994753d9bd1600914b (diff)
selftests/bpf: Fix progs/test_deny_namespace.c issues.
The following build error can be seen: progs/test_deny_namespace.c:22:19: error: call to undeclared function 'BIT_LL'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] __u64 cap_mask = BIT_LL(CAP_SYS_ADMIN); The struct kernel_cap_struct no longer exists in the kernel as well. Adjust bpf prog to fix both issues. Fixes: f122a08b197d ("capability: just use a 'u64' instead of a 'u32[2]' array") Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/Makefile')
0 files changed, 0 insertions, 0 deletions