linux-stable/tools/include/uapi
John Fastabend bfa640757e 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>
2017-10-29 11:18:48 +09:00
..
asm-generic tools include: Sync kernel ABI headers with tooling headers 2017-09-25 10:39:44 -03:00
drm tools include: Sync kernel ABI headers with tooling headers 2017-09-25 10:39:44 -03:00
linux bpf: rename sk_actions to align with bpf infrastructure 2017-10-29 11:18:48 +09:00
sound tools include uapi: Grab a copy of sound/asound.h 2017-08-01 13:02:11 -03:00