Commit 4730b07e authored by Yonghong Song's avatar Yonghong Song Committed by Greg Kroah-Hartman
Browse files

selftests/bpf: Add a cgroup prog bpf_get_ns_current_pid_tgid() test



[ Upstream commit 87ade6cd ]

Add a cgroup bpf program test where the bpf program is running
in a pid namespace. The test is successfully:
  #165/3   ns_current_pid_tgid/new_ns_cgrp:OK

Signed-off-by: default avatarYonghong Song <yonghong.song@linux.dev>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240315184910.2976522-1-yonghong.song@linux.dev


Stable-dep-of: 21f0b0af ("selftests/bpf: Fix include of <sys/fcntl.h>")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 17536f3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment