]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "selftests/bpf: Add a cgroup prog bpf_get_ns_current_pid_tgid() test"
authorShung-Hsi Yu <shung-hsi.yu@suse.com>
Tue, 29 Jul 2025 05:36:51 +0000 (13:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Aug 2025 08:47:33 +0000 (09:47 +0100)
commit41d3c751fcb4e5ae34ae4832125563f2777761b5
treeafd27443faaa214926684f1bbaa8c7781b588f7e
parent1af6d1696ca40b2d22889b4b8bbea616f94aaa84
Revert "selftests/bpf: Add a cgroup prog bpf_get_ns_current_pid_tgid() test"

This reverts commit 4730b07ef7745d7cd48c6aa9f72d75ac136d436f.

The test depends on commit eb166e522c77 "bpf: Allow helper
bpf_get_[ns_]current_pid_tgid() for all prog types", which was not part of the
stable 6.6 code base, and thus the test will fail. Revert it since it is a
false positive.

Signed-off-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/bpf/prog_tests/ns_current_pid_tgid.c
tools/testing/selftests/bpf/progs/test_ns_current_pid_tgid.c