]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit38d19245c3fce6987aa40730b298311dc10d7d1b
tree9b5177a264a126a0e5d9178d7b1585b596528145
parent5e2c66f4a3b79496cdb3abe4e11bc5db5654414c
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]