android_kernel_sony_sdm845/tools/include
Repository files (latest commit first)
Filename Latest commit message Latest commit date
John Fastabend c0e2274b73 BACKPORT: bpf: rename sk_actions to align with bpf infrastructure
Recent additions to support multiple programs in cgroups impose
a strict requirement, "all yes is yes, any no is no". To enforce
this the infrastructure requires the 'no' return code, SK_DROP in
this case, to be 0.

To apply these rules to SK_SKB program types the sk_actions return
codes need to be adjusted.

This fix adds SK_PASS and makes 'SK_DROP = 0'. Finally, remove
SK_ABORTED to remove any chance that the API may allow aborted
program flows to be passed up the stack. This would be incorrect
behavior and allow programs to break existing policies.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:55:25 +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 BACKPORT: bpf: add various verifier test cases 2026-05-15 17:54:41 +07:00
tools tools: add more endian.h macros 2014-09-26 11:03:01 +02:00
uapi BACKPORT: bpf: rename sk_actions to align with bpf infrastructure 2026-05-15 17:55:25 +07:00