summaryrefslogtreecommitdiff
path: root/rust/proc-macro2/lib.rs
diff options
context:
space:
mode:
authorAnton Protopopov <a.s.protopopov@gmail.com>2025-11-28 09:32:24 +0300
committerAlexei Starovoitov <ast@kernel.org>2025-11-29 02:15:43 +0300
commite3ea26add687ec6829fd8e7161b17667fdb88ec1 (patch)
treeaa3809c6b04559da7746da4c2e9b8e426c10172c /rust/proc-macro2/lib.rs
parent7feff23cdf2ecd30909872f3be1da820df839ab0 (diff)
downloadlinux-e3ea26add687ec6829fd8e7161b17667fdb88ec1.tar.xz
bpf: check for insn arrays in check_ptr_alignment
Do not abuse the strict_alignment_once flag, and check if the map is an instruction array inside the check_ptr_alignment() function. Suggested-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com> Link: https://lore.kernel.org/r/20251128063224.1305482-3-a.s.protopopov@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'rust/proc-macro2/lib.rs')
0 files changed, 0 insertions, 0 deletions