diff options
author | Roman Gushchin <guro@fb.com> | 2018-08-02 14:27:23 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-08-03 00:47:32 +0200 |
commit | 7b5dd2bde72cd33313b63cf3ba1de6a9e443a65d (patch) | |
tree | 06a6c42736847c306dbb7e89d72933501b197e45 /kernel/bpf/helpers.c | |
parent | 3e6a4b3e0289dc9540a2c1d8a20657f4707fbabb (diff) | |
download | lwn-7b5dd2bde72cd33313b63cf3ba1de6a9e443a65d.tar.gz lwn-7b5dd2bde72cd33313b63cf3ba1de6a9e443a65d.zip |
bpf: don't allow create maps of cgroup local storages
As there is one-to-one relation between a bpf program
and cgroup local storage map, there is no sense in
creating a map of cgroup local storage maps.
Forbid it explicitly to avoid possible side effects.
Signed-off-by: Roman Gushchin <guro@fb.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions