OSDN Git Service

bpf: Fix comment for helper bpf_current_task_under_cgroup()
authorHengqi Chen <hengqi.chen@gmail.com>
Thu, 10 Mar 2022 15:53:35 +0000 (23:53 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 10 Mar 2022 22:00:43 +0000 (23:00 +0100)
commit58617014405ad5c9f94f464444f4972dabb71ca7
tree4b5686180a9fc486a67b846d824a1555c03f7cb2
parent60695896e41a6a0c7f8518fd13f8db79f880df0a
bpf: Fix comment for helper bpf_current_task_under_cgroup()

Fix the descriptions of the return values of helper bpf_current_task_under_cgroup().

Fixes: c6b5fb8690fa ("bpf: add documentation for eBPF helpers (42-50)")
Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20220310155335.1278783-1-hengqi.chen@gmail.com
include/uapi/linux/bpf.h
tools/include/uapi/linux/bpf.h