diff options
author | 2018-09-28 14:33:21 +0100 | |
---|---|---|
committer | 2018-09-28 15:50:23 +0200 | |
commit | 4288ea006c73e37c2a4f60dfaef20dd167b8df31 (patch) | |
tree | 6e43c3f3344f8f54baed168fb23f16bffcf4c7aa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net-tcp: /proc/sys/net/ipv4/tcp_probe_interval is a u32 not int (diff) | |
download | linux-dev-4288ea006c73e37c2a4f60dfaef20dd167b8df31.tar.xz linux-dev-4288ea006c73e37c2a4f60dfaef20dd167b8df31.zip |
bpf: harden flags check in cgroup_storage_update_elem()
cgroup_storage_update_elem() shouldn't accept any flags
argument values except BPF_ANY and BPF_EXIST to guarantee
the backward compatibility, had a new flag value been added.
Fixes: de9cbbaadba5 ("bpf: introduce cgroup storage maps")
Signed-off-by: Roman Gushchin <guro@fb.com>
Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions