Andrey Ignatov 06d3e4c9f1 bpf: Allow skb_ancestor_cgroup_id helper in cgroup skb
cgroup skb programs already can use bpf_skb_cgroup_id. Allow
bpf_skb_ancestor_cgroup_id as well so that container policies can be
implemented for a container that can have sub-cgroups dynamically
created, but policies should still be implemented based on cgroup id of
container itself not on an id of a sub-cgroup.

Signed-off-by: Andrey Ignatov <rdna@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/8874194d6041eba190356453ea9f6071edf5f658.1589486450.git.rdna@fb.com
2020-05-14 18:41:07 -07:00
..
2020-04-03 13:12:26 -07:00
2020-01-27 11:09:31 +01:00
2019-12-09 10:36:44 -08:00
2019-11-26 14:40:13 -08:00
2020-04-22 12:55:54 -07:00
2020-05-03 16:08:07 -07:00
2020-04-08 14:34:02 -07:00
2020-01-24 13:44:07 +01:00
2020-03-30 12:18:49 -07:00