diff options
author | Martin KaFai Lau <kafai@fb.com> | 2016-06-30 17:28:43 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-01 20:30:38 (GMT) |
commit | 4ed8ec521ed57c4e207ad464ca0388776de74d4b (patch) | |
tree | f656cf08ee272920b26cad8a91ae8d315242b5cd /drivers | |
parent | 1f3fe7ebf6136c341012db9f554d4caa566fcbaa (diff) | |
download | linux-4ed8ec521ed57c4e207ad464ca0388776de74d4b.tar.xz |
cgroup: bpf: Add BPF_MAP_TYPE_CGROUP_ARRAY
Add a BPF_MAP_TYPE_CGROUP_ARRAY and its bpf_map_ops's implementations.
To update an element, the caller is expected to obtain a cgroup2 backed
fd by open(cgroup2_dir) and then update the array with that fd.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Cc: Alexei Starovoitov <ast@fb.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Tejun Heo <tj@kernel.org>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions