On Thu, Nov 05, 2020 at 03:47:51PM +0100, KP Singh wrote: > From: KP Singh <[email protected]> > > The currently available bpf_get_current_task returns an unsigned integer > which can be used along with BPF_CORE_READ to read data from > the task_struct but still cannot be used as an input argument to a > helper that accepts an ARG_PTR_TO_BTF_ID of type task_struct. > > In order to implement this helper a new return type, RET_PTR_TO_BTF_ID, > is added. This is similar to RET_PTR_TO_BTF_ID_OR_NULL but does not > require checking the nullness of returned pointer. > > Acked-by: Song Liu <[email protected]> > Signed-off-by: KP Singh <[email protected]> Acked-by: Martin KaFai Lau <[email protected]>
- [PATCH bpf-next v4 0/9] Implement task_local_storage KP Singh
- [PATCH bpf-next v4 7/9] bpf: Update selftests for lo... KP Singh
- [PATCH bpf-next v4 8/9] bpf: Add tests for task_loca... KP Singh
- [PATCH bpf-next v4 3/9] libbpf: Add support for task... KP Singh
- [PATCH bpf-next v4 9/9] bpf: Exercise syscall operat... KP Singh
- [PATCH bpf-next v4 5/9] bpf: Implement get_current_t... KP Singh
- Re: [PATCH bpf-next v4 5/9] bpf: Implement get_c... Martin KaFai Lau
- [PATCH bpf-next v4 1/9] bpf: Allow LSM programs to u... KP Singh
- Re: [PATCH bpf-next v4 1/9] bpf: Allow LSM progr... Song Liu
- Re: [PATCH bpf-next v4 1/9] bpf: Allow LSM progr... Martin KaFai Lau
- [PATCH bpf-next v4 2/9] bpf: Implement task local st... KP Singh
- Re: [PATCH bpf-next v4 2/9] bpf: Implement task ... Martin KaFai Lau
- [PATCH bpf-next v4 6/9] bpf: Fix tests for local_sto... KP Singh
- [PATCH bpf-next v4 4/9] bpftool: Add support for tas... KP Singh
- Re: [PATCH bpf-next v4 4/9] bpftool: Add support... Martin KaFai Lau

