public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RESEND][PATCH v2 0/2] ns, procfs: pid conversion between ns and showing pidns hierarchy
@ 2014-09-22  9:53 Chen Hanxiao
  2014-09-22  9:53 ` [RESEND][PATCHv2 1/2] procfs: show hierarchy of pid namespace Chen Hanxiao
  2014-09-22  9:53 ` [RESEND][PATCHv3 2/2] /proc/PID/status: show all sets of pid according to ns Chen Hanxiao
  0 siblings, 2 replies; 5+ messages in thread
From: Chen Hanxiao @ 2014-09-22  9:53 UTC (permalink / raw)
  To: containers, linux-kernel
  Cc: Serge Hallyn, Eric W. Biederman, Oleg Nesterov, David Howells,
	Richard Weinberger, Pavel Emelyanov, Vasiliy Kulikov

This series will expose pid inside containers
via procfs.
Also show the hierarchy of pid namespcae.
Then we could know how pid looks inside a container
and their ns relationships.

v2: use a procfs text file instead of dirs
    to show the hierarchy of pid namespace


Chen Hanxiao (2):
  procfs: show hierarchy of pid namespace
  /proc/PID/status: show all sets of pid according to ns

 fs/proc/Kconfig           |   6 ++
 fs/proc/Makefile          |   1 +
 fs/proc/array.c           |  17 ++++
 fs/proc/pidns_hierarchy.c | 195 ++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 219 insertions(+)
 create mode 100644 fs/proc/pidns_hierarchy.c

-- 
1.9.0


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

end of thread, other threads:[~2014-09-24  3:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-22  9:53 [RESEND][PATCH v2 0/2] ns, procfs: pid conversion between ns and showing pidns hierarchy Chen Hanxiao
2014-09-22  9:53 ` [RESEND][PATCHv2 1/2] procfs: show hierarchy of pid namespace Chen Hanxiao
2014-09-22 14:16   ` Mateusz Guzik
2014-09-24  3:53     ` Chen, Hanxiao
2014-09-22  9:53 ` [RESEND][PATCHv3 2/2] /proc/PID/status: show all sets of pid according to ns Chen Hanxiao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox