diff options
| author | Alexei Starovoitov <[email protected]> | 2017-10-03 05:50:23 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-04 23:05:05 +0000 |
| commit | 390ee7e29fc8e6e90d3065b00afb047c4ee552f9 (patch) | |
| tree | 9a5d9870bb4cf67905cb638cbe1b3063251a100f /tools/lib/bpf/bpf.c | |
| parent | bpf: introduce BPF_PROG_QUERY command (diff) | |
| download | kernel-390ee7e29fc8e6e90d3065b00afb047c4ee552f9.tar.gz kernel-390ee7e29fc8e6e90d3065b00afb047c4ee552f9.zip | |
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.
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf.c')
0 files changed, 0 insertions, 0 deletions
