All of lore.kernel.org
 help / color / mirror / Atom feed
* Show virtualized dentry root in mountinfo for cgroupfs
@ 2016-04-17 20:04 ` serge.hallyn
  0 siblings, 0 replies; 50+ messages in thread
From: serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA @ 2016-04-17 20:04 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-api-u79uwXL29TY76Z2rM5mHXA,
	containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	hannes-druUgvl0LCNAfugRpC6u6w, ebiederm-aS9lmoZGLiVWk0Htik3J/w,
	gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r,
	tj-DgEjT+Ai2ygdnm+yROfE0A, cgroups-u79uwXL29TY76Z2rM5mHXA,
	akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b

With the current cgroup namespace patches, the root dentry path of a
mount as shown in /proc/self/mountinfo is the full global cgroup
path.  It is common for userspace to use /proc/self/mountinfo to
search for cgroup mountpoints, and expect the root dentry path to
relate to the cgroup paths in /proc/self/cgroup.  Patch 2 in this
set therefore virtualizes the root dentry path relative to the
reader's cgroup namespace root.

Patch 1 fixes a bug in kernfs_path_from_node_locked() which is
exposed by patch 2.

^ permalink raw reply	[flat|nested] 50+ messages in thread

end of thread, other threads:[~2016-05-03 14:27 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-17 20:04 Show virtualized dentry root in mountinfo for cgroupfs serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA
2016-04-17 20:04 ` serge.hallyn
2016-04-17 20:04 ` [PATCH 2/2] mountinfo: implement show_path for kernfs and cgroup serge.hallyn
2016-04-17 20:04   ` serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA
2016-04-18  4:11   ` Serge E. Hallyn
2016-04-18  4:11     ` Serge E. Hallyn
2016-04-18  5:29     ` [PATCH 3/2] cgroup_show_path: use a new helper to get current cgns css_set Serge E. Hallyn
2016-04-18  5:29       ` Serge E. Hallyn
     [not found]       ` <20160418052905.GA3848-7LNsyQBKDXoIagZqoN9o3w@public.gmane.org>
2016-04-29 21:42         ` Serge E. Hallyn
2016-04-29 21:42       ` Serge E. Hallyn
2016-04-29 21:42         ` Serge E. Hallyn
2016-05-02 16:35         ` Tejun Heo
2016-05-02 16:35           ` Tejun Heo
2016-05-03 14:26           ` Serge E. Hallyn
2016-05-03 14:26             ` Serge E. Hallyn
     [not found]           ` <20160502163526.GW7822-qYNAdHglDFBN0TnZuCh8vA@public.gmane.org>
2016-05-03 14:26             ` Serge E. Hallyn
     [not found]         ` <20160429214254.GA13615-7LNsyQBKDXoIagZqoN9o3w@public.gmane.org>
2016-05-02 16:35           ` Tejun Heo
2016-04-19  1:12     ` [PATCH 2/2] mountinfo: implement show_path for kernfs and cgroup Eric W. Biederman
2016-04-19  1:12       ` Eric W. Biederman
2016-04-19  1:44       ` Serge E. Hallyn
2016-04-19  1:44         ` Serge E. Hallyn
2016-04-19  4:05         ` Serge E. Hallyn
2016-04-19  4:05           ` Serge E. Hallyn
     [not found]           ` <20160419040546.GA20350-7LNsyQBKDXoIagZqoN9o3w@public.gmane.org>
2016-04-26  2:42             ` Serge E. Hallyn
2016-04-26  2:42               ` Serge E. Hallyn
     [not found]               ` <20160426024207.GA2783-7LNsyQBKDXoIagZqoN9o3w@public.gmane.org>
2016-04-26 10:29                 ` Karel Zak
2016-04-26 10:29               ` Karel Zak
2016-04-26 10:29                 ` Karel Zak
     [not found]                 ` <20160426102925.vkydkjtrsnibuc7c-xkT7n84Rsxv/9pzu0YdTqQ@public.gmane.org>
2016-04-26 14:36                   ` Serge E. Hallyn
2016-04-26 14:36                 ` Serge E. Hallyn
2016-04-26 14:36                   ` Serge E. Hallyn
     [not found]                   ` <20160426143622.GA11021-7LNsyQBKDXoIagZqoN9o3w@public.gmane.org>
2016-05-02 16:33                     ` Tejun Heo
2016-05-02 16:33                       ` Tejun Heo
     [not found]         ` <20160419014419.GA19080-7LNsyQBKDXoIagZqoN9o3w@public.gmane.org>
2016-04-19  4:05           ` Serge E. Hallyn
     [not found]       ` <87mvoqqu48.fsf-JOvCrm2gF+uungPnsOpG7nhyD016LWXt@public.gmane.org>
2016-04-19  1:44         ` Serge E. Hallyn
     [not found]     ` <20160418041126.GA424-7LNsyQBKDXoIagZqoN9o3w@public.gmane.org>
2016-04-18  5:29       ` [PATCH 3/2] cgroup_show_path: use a new helper to get current cgns css_set Serge E. Hallyn
2016-04-19  1:12       ` [PATCH 2/2] mountinfo: implement show_path for kernfs and cgroup Eric W. Biederman
     [not found]   ` <1460923472-29370-3-git-send-email-serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org>
2016-04-18  4:11     ` Serge E. Hallyn
2016-05-02 16:34     ` Tejun Heo
2016-05-02 16:34       ` Tejun Heo
     [not found] ` <1460923472-29370-1-git-send-email-serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org>
2016-04-17 20:04   ` [PATCH 1/2] kernfs_path_from_node_locked: don't overwrite nlen serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA
2016-04-17 20:04     ` serge.hallyn
     [not found]     ` <1460923472-29370-2-git-send-email-serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org>
2016-04-20 19:43       ` Tejun Heo
2016-04-20 19:43         ` Tejun Heo
2016-05-02 16:32         ` Tejun Heo
2016-05-02 16:32           ` Tejun Heo
     [not found]           ` <20160502163256.GT7822-qYNAdHglDFBN0TnZuCh8vA@public.gmane.org>
2016-05-02 16:41             ` Greg KH
2016-05-02 16:41               ` Greg KH
     [not found]         ` <20160420194313.GA4775-piEFEHQLUPpN0TnZuCh8vA@public.gmane.org>
2016-05-02 16:32           ` Tejun Heo
2016-04-17 20:04   ` [PATCH 2/2] mountinfo: implement show_path for kernfs and cgroup serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.