selftests/bpf: Add uptr test.

Implement simple hash table where all data structures are shared between bpf
program and user space process. The implementation is in uptr_htab.h.
It's dual compiled. Once as a bpf program and once as native C code.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
3 files changed