Re: [PATCH bpf-next v1 6/6] bpf: mark bpf_task_work_* kfuncs with KF_IMPLICIT_PROG_AUX_ARG

Mykyta Yatsenko
2025-09-25T14:05:36Z

On 9/24/25 22:17, Ihor Solodrai wrote:
> Two kfuncs that use aux__prog argument were recently added [1]:
> * bpf_task_work_schedule_resume
> * bpf_task_work_schedule_signal
>
> Update them to use the new kfunc flag and fix usages in the selftests.
>
> [1] https://lore.kernel.org/bpf/20250923112404.668720-1-mykyta.yatsenko5@gmail.com/
>
> Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
> ---
> kernel/bpf/helpers.c | 16 ++++++++--------
> tools/testing/selftests/bpf/progs/task_work.c | 6 +++---
> .../testing/selftests/bpf/progs/task_work_fail.c | 8 ++++----
> .../selftests/bpf/progs/task_work_stress.c | 2 +-
> 4 files changed, 16 insertions(+), 16 deletions(-)
Acked-by: Mykyta Yatsenko <mykyta.yatsenko5@gmail.com>