tools/testing/selftests/bpf: Add self-tests for new helper bpf_get_ns_current_pid_tgid.
authorCarlos Neira <cneirabustos@gmail.com>
Wed, 4 Mar 2020 20:41:57 +0000 (17:41 -0300)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 13 Mar 2020 00:40:47 +0000 (17:40 -0700)
commit1c1052e0140af8f211c283c0a333ecff2a6edfc9
tree9b5177a264a126a0e5d9178d7b1585b596528145
parentb4490c5c4e023f09b7d27c9a9d3e7ad7d09ea6bf
tools/testing/selftests/bpf: Add self-tests for new helper bpf_get_ns_current_pid_tgid.

Self tests added for new helper bpf_get_ns_current_pid_tgid

Signed-off-by: Carlos Neira <cneirabustos@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200304204157.58695-4-cneirabustos@gmail.com
tools/testing/selftests/bpf/.gitignore
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_ns_current_pid_tgid.c [new file with mode: 0644]
tools/testing/selftests/bpf/test_current_pid_tgid_new_ns.c [new file with mode: 0644]