Yafang Shao 44cb03f19b selftests/bpf: Add selftest for bpf_task_under_cgroup() in sleepable prog
The result is as follows:

  $ tools/testing/selftests/bpf/test_progs --name=task_under_cgroup
  #237     task_under_cgroup:OK
  Summary: 1/0 PASSED, 0 SKIPPED, 0 FAILED

Without the previous patch, there will be RCU warnings in dmesg when
CONFIG_PROVE_RCU is enabled. While with the previous patch, there will
be no warnings.

Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/bpf/20231007135945.4306-2-laoar.shao@gmail.com
2023-10-17 18:31:27 +02:00
..
2023-04-24 12:28:34 -07:00
2023-08-28 18:46:47 -07:00
2023-09-01 15:58:21 -07:00
2023-08-24 10:41:47 -04:00
2023-09-15 19:22:20 -07:00
2023-06-29 10:11:10 -07:00
2023-07-13 19:13:24 -07:00
2023-09-12 09:10:36 -07:00
2023-09-23 05:35:55 -04:00
2023-02-23 09:37:29 -08:00
2023-08-28 19:03:24 -07:00
2023-10-15 20:07:52 +01:00
2023-04-25 11:05:04 -07:00
2023-08-28 18:46:47 -07:00
2023-08-21 13:46:25 -07:00
2023-09-08 10:06:56 -06:00