diff options
author | 2017-10-02 22:50:23 -0700 | |
---|---|---|
committer | 2017-10-04 16:05:05 -0700 | |
commit | 390ee7e29fc8e6e90d3065b00afb047c4ee552f9 (patch) | |
tree | 9a5d9870bb4cf67905cb638cbe1b3063251a100f /samples/bpf/cgroup_helpers.c | |
parent | bpf: introduce BPF_PROG_QUERY command (diff) | |
download | wireguard-linux-390ee7e29fc8e6e90d3065b00afb047c4ee552f9.tar.xz wireguard-linux-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 <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/cgroup_helpers.c')
0 files changed, 0 insertions, 0 deletions