# Re: \[PATCH -next 2/4\] cgroup: bpf: Add BPF\_MAP\_TYPE\_CGROUP\_ARRAY

- From: Alexei Starovoitov \<hidden\>
- Date: 2016-06-22 01:18:32 
- List: cgroups
- Page: https://ratatoskr.run/cgroups/2016/06/4779599
- Thread: https://ratatoskr.run/cgroups/2016/06/4779564/t.md

```text
On Tue, Jun 21, 2016 at 05:23:20PM -0700, Martin KaFai Lau wrote:
> 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 <redacted>
> Cc: Alexei Starovoitov <redacted>
> Cc: Daniel Borkmann <daniel@iogearbox.net>
> Cc: Tejun Heo <tj@kernel.org>

Acked-by: Alexei Starovoitov <ast@kernel.org>
```
