Alexei Starovoitov 75860b5201 selftests/bpf: Workaround for older vm_sockets.h.
Some distros ship with older vm_sockets.h that doesn't have VMADDR_CID_LOCAL
which causes selftests build to fail:
/tmp/work/bpf/bpf/tools/testing/selftests/bpf/prog_tests/sockmap_listen.c:261:18: error: ‘VMADDR_CID_LOCAL’ undeclared (first use in this function); did you mean ‘VMADDR_CID_HOST’?
    261 |  addr->svm_cid = VMADDR_CID_LOCAL;
        |                  ^~~~~~~~~~~~~~~~
        |                  VMADDR_CID_HOST

Workaround this issue by defining it on demand.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2023-04-13 19:54:17 -07:00
..
2023-02-03 13:54:22 -03:00
2023-01-21 17:52:26 +00:00
2023-04-13 16:43:38 -07:00
2023-04-13 16:43:38 -07:00
2023-03-02 09:45:34 -08:00
2023-03-10 08:18:46 -08:00
2023-03-17 11:02:26 -07:00
2023-02-23 10:20:49 -08:00