summaryrefslogtreecommitdiff
path: root/kernel/bpf/bpf_inode_storage.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2022-04-20 00:02:49 +0300
committerAlexei Starovoitov <ast@kernel.org>2022-04-20 00:02:50 +0300
commit0e5aefa334dba7fc07ee4ef52ae622f957fc865b (patch)
tree2b0f53fe95a74fc94fffd6d7d1b66063213a0e89 /kernel/bpf/bpf_inode_storage.c
parent0d7fefebea552771b17682a12330ea47e369a5df (diff)
parent24fe983abe01c53e1a9354fe21fab92579fcda6d (diff)
downloadlinux-0e5aefa334dba7fc07ee4ef52ae622f957fc865b.tar.xz
Merge branch 'Ensure type tags are always ordered first in BTF'
Kumar Kartikeya Dwivedi says: ==================== When iterating over modifiers, ensure that type tags can only occur at head of the chain, and don't occur later, such that checking for them once in the start tells us there are no more type tags in later modifiers. Clang already ensures to emit such BTF, but user can craft their own BTF which violates such assumptions if relied upon in the kernel. Changelog: ---------- v2 -> v3 v2: https://lore.kernel.org/bpf/20220418224719.1604889-1-memxor@gmail.com * Address nit from Yonghong, add Acked-by v1 -> v2 v1: https://lore.kernel.org/bpf/20220406004121.282699-1-memxor@gmail.com * Fix for bug pointed out by Yonghong * Update selftests to include Yonghong's example ==================== Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/bpf_inode_storage.c')
0 files changed, 0 insertions, 0 deletions