android_kernel_sony_sdm845/tools/include
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
..
asm perf bench: Copy kernel files needed to build mem{cpy,set} x86_64 benchmarks 2016-07-12 15:20:32 -03:00
asm-generic tools lib: Add for_each_clear_bit macro 2018-06-05 10:28:55 +02:00
linux UPSTREAM: bpf: add initial suite for selftests 2026-05-15 17:54:19 +07:00
tools tools: add more endian.h macros 2014-09-26 11:03:01 +02:00
uapi UPSTREAM: bpf: Add strict alignment flag for BPF_PROG_LOAD. 2026-05-15 17:54:40 +07:00