Re: [PATCH 3/2] cgroup_show_path: use a new helper to get current cgns css_set

From: Serge E. Hallyn
Date: Tue May 03 2016 - 10:27:07 EST


Quoting Tejun Heo (tj@xxxxxxxxxx):
> On Fri, Apr 29, 2016 at 04:42:54PM -0500, Serge E. Hallyn wrote:
> > [ I'm sorry, apparently I had sent the wrong version of this patch. Here
> > is the correct one from
> > https://git.kernel.org/cgit/linux/kernel/git/sergeh/linux-security.git/commit/?h=2016-04-17/kernfs.show&id=79f784037098fddae92258579ef494537a12f1b2
> > Thanks Michael for pointing that out
> > ]
> >
> > Since we're getting current's cgroup namespace info, and are
> > not modifying it, we don't need the cgroup_mutex.
> >
> > Signed-off-by: Serge Hallyn <serge.hallyn@xxxxxxxxxx>
>
> Can you please fold this into the previous patch?

Will do, and will add the documentation Michael asked for. In the
middle of something still today, but will send this out this week.

thanks,
-serge