[PATCH] [RFC] bpf: tracing: new helper bpf_get_current_cgroup_ino

Alexei Starovoitov alexei.starovoitov at gmail.com
Wed May 23 03:35:51 UTC 2018


On Tue, May 22, 2018 at 08:33:24PM -0700, Y Song wrote:
> +       struct cgroup *cgrp = task_dfl_cgroup(current);
> +       if (!cgrp)
> +               return -EINVAL;

why this check is needed?



More information about the Containers mailing list