Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 65b07c03 authored by Alexei Starovoitov's avatar Alexei Starovoitov Committed by Harshit Jain
Browse files

BACKPORT: bpf: enforce return code for cgroup-bpf programs



with addition of tnum logic the verifier got smart enough and
we can enforce return codes at program load time.
For now do so for cgroup-bpf program types.

Change-Id: Iae3a46c3d38810e47cbf4ec23356abae03ded736
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Acked-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarCyber Knight <cyberknight755@gmail.com>
parent 0eb11390
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment