aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorYuntao Wang <ytcoode@gmail.com>2022-03-11 00:15:18 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2022-03-10 23:04:47 +0100
commit1b773d0003aa90e60953d263c2ee31e6fb4a8a69 (patch)
tree3a488b8ea06c0fe3365b2ce12cc84c04071762ac /security
parentbpf: Fix comment for helper bpf_current_task_under_cgroup() (diff)
downloadlinux-dev-1b773d0003aa90e60953d263c2ee31e6fb4a8a69.tar.xz
linux-dev-1b773d0003aa90e60953d263c2ee31e6fb4a8a69.zip
bpf: Use offsetofend() to simplify macro definition
Use offsetofend() instead of offsetof() + sizeof() to simplify MIN_BPF_LINEINFO_SIZE macro definition. Signed-off-by: Yuntao Wang <ytcoode@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Yonghong Song <yhs@fb.com> Acked-by: Joanne Koong <joannelkoong@gmail.com> Link: https://lore.kernel.org/bpf/20220310161518.534544-1-ytcoode@gmail.com
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions