Skip to content
Commit 60a9a5fc authored by Jordan Rome's avatar Jordan Rome Committed by Greg Kroah-Hartman
Browse files

selftests/bpf: Add assert for user stacks in test_task_stack

commit 727a92d6 upstream.

This is a follow up to:
commit b8e3a87a

 ("bpf: Add crosstask check to __bpf_get_stack").

This test ensures that the task iterator only gets a single
user stack (for the current task).

Signed-off-by: default avatarJordan Rome <linux@jordanrome.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Acked-by: default avatarStanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/bpf/20231112023010.144675-1-linux@jordanrome.com
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3590da14
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment