[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1409740200-26461-1-git-send-email-chenhanxiao@cn.fujitsu.com>
Date: Wed, 3 Sep 2014 18:29:57 +0800
From: Chen Hanxiao <chenhanxiao@...fujitsu.com>
To: <containers@...ts.linux-foundation.org>,
<linux-kernel@...r.kernel.org>
CC: "Eric W. Biederman" <ebiederm@...ssion.com>,
Serge Hallyn <serge.hallyn@...ntu.com>,
Oleg Nesterov <oleg@...hat.com>,
Al Viro <viro@...iv.linux.org.uk>,
David Howells <dhowells@...hat.com>,
Richard Weinberger <richard.weinberger@...il.com>,
Pavel Emelyanov <xemul@...allels.com>,
Vasiliy Kulikov <segooon@...il.com>
Subject: [RFC PATCH 0/3] ns,procfs: pid conversion between ns and showing pidns hierarchy
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.
Chen Hanxiao (3):
procfs: check uniq proc_dir_entry subdir name
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/generic.c | 15 +++++
fs/proc/pidns_hierarchy.c | 161 ++++++++++++++++++++++++++++++++++++++++++++++
include/linux/proc_fs.h | 3 +
6 files changed, 203 insertions(+)
create mode 100644 fs/proc/pidns_hierarchy.c
--
1.9.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists