Merge branch 'Let BPF verifier consider {task,cgroup} is trusted in bpf_iter_reg'
authorMartin KaFai Lau <martin.lau@kernel.org>
Tue, 7 Nov 2023 21:26:03 +0000 (13:26 -0800)
committerMartin KaFai Lau <martin.lau@kernel.org>
Tue, 7 Nov 2023 23:28:06 +0000 (15:28 -0800)
commit8e1b802503bb630eafc3e97b2daf755368ec96e1
tree3de609f4f0ac0e64b1684ce0007776d92833b703
parentd84b139f53e8fa8048f16814c6b2a53d7bc15c3d
parent3c5864ba9cf912ff9809f315d28f296f21563cce
Merge branch 'Let BPF verifier consider {task,cgroup} is trusted in bpf_iter_reg'

Chuyi Zhou says:

====================
The patchset aims to let the BPF verivier consider
bpf_iter__cgroup->cgroup and bpf_iter__task->task is trusted suggested by
Alexei[1].

Please see individual patches for more details. And comments are always
welcome.

Link[1]:https://lore.kernel.org/bpf/20231022154527.229117-1-zhouchuyi@bytedance.com/T/#mb57725edc8ccdd50a1b165765c7619b4d65ed1b0

v2->v1:
 * Patch #1: Add Yonghong's ack and add description of similar case in
   log.
 * Patch #2: Add Yonghong's ack
====================

Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>