android_kernel_sony_sdm845/kernel/bpf
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David S. Miller 517b714b45 UPSTREAM: bpf: Add strict alignment flag for BPF_PROG_LOAD.
Add a new field, "prog_flags", and an initial flag value
BPF_F_STRICT_ALIGNMENT.

When set, the verifier will enforce strict pointer alignment
regardless of the setting of CONFIG_EFFICIENT_UNALIGNED_ACCESS.

The verifier, in this mode, will also use a fixed value of "2" in
place of NET_IP_ALIGN.

This facilitates test cases that will exercise and validate this part
of the verifier even when run on architectures where alignment doesn't
matter.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:54:40 +07:00
..
arraymap.c UPSTREAM: bpf: remove struct bpf_map_type_list 2026-05-15 17:54:36 +07:00
bpf_lru_list.c UPSTREAM: bpf: Remove unused but set variable in __bpf_lru_list_shrink_inactive() 2026-05-15 17:54:28 +07:00
bpf_lru_list.h UPSTREAM: bpf: Add percpu LRU list 2026-05-15 17:54:13 +07:00
cgroup.c BACKPORT: bpf: Add new cgroup attach type to enable sock modifications 2026-05-15 17:54:18 +07:00
core.c UPSTREAM: bpf: bpf_lock on kallsysms doesn't need to be irqsave 2026-05-15 17:54:39 +07:00
hashtab.c UPSTREAM: bpf: remove struct bpf_map_type_list 2026-05-15 17:54:36 +07:00
helpers.c UPSTREAM: bpf: rename ARG_PTR_TO_STACK 2026-05-15 17:54:26 +07:00
inode.c BACKPORT: bpf: add initial bpf tracepoints 2026-05-15 17:54:29 +07:00
lpm_trie.c UPSTREAM: bpf: remove struct bpf_map_type_list 2026-05-15 17:54:36 +07:00
Makefile BACKPORT: bpf: Add array of maps support 2026-05-15 17:54:34 +07:00
map_in_map.c BACKPORT: bpf: Add array of maps support 2026-05-15 17:54:34 +07:00
map_in_map.h BACKPORT: bpf: Add array of maps support 2026-05-15 17:54:34 +07:00
percpu_freelist.c bpf: fix lockdep splat 2017-12-14 09:28:23 +01:00
percpu_freelist.h bpf: introduce percpu_freelist 2016-03-08 15:28:31 -05:00
stackmap.c UPSTREAM: bpf: remove struct bpf_map_type_list 2026-05-15 17:54:36 +07:00
syscall.c UPSTREAM: bpf: Add strict alignment flag for BPF_PROG_LOAD. 2026-05-15 17:54:40 +07:00
verifier.c UPSTREAM: bpf: Add strict alignment flag for BPF_PROG_LOAD. 2026-05-15 17:54:40 +07:00