Re: [PATCH v2 bpf-next] bpf: add crosstask check to __bpf_get_stack

patchwork-bot+netdevbpf
2023-11-10T19:10:25Z

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Wed, 8 Nov 2023 03:23:34 -0800 you wrote:
> Currently get_perf_callchain only supports user stack walking for
> the current task. Passing the correct *crosstask* param will return
> 0 frames if the task passed to __bpf_get_stack isn't the current
> one instead of a single incorrect frame/address. This change
> passes the correct *crosstask* param but also does a preemptive
> check in __bpf_get_stack if the task is current and returns
> -EOPNOTSUPP if it is not.
>
> [...]

Here is the summary with links:
- [v2,bpf-next] bpf: add crosstask check to __bpf_get_stack
https://git.kernel.org/bpf/bpf-next/c/b8e3a87a627b

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.