RE: [RFC PATCH 0/3] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-09-16 Thread Chen, Hanxiao
Hi, > -Original Message- > From: Serge E. Hallyn [mailto:se...@hallyn.com] > > Hi, > > so the below is just 30 mins worth of playing around, will hang if you give > it bad pids, and requires privilege, but shows how to get pid conversion > in some cases. Basically it gives you what I ha

Re: [RFC PATCH 0/3] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-09-12 Thread Serge E. Hallyn
Hi, so the below is just 30 mins worth of playing around, will hang if you give it bad pids, and requires privilege, but shows how to get pid conversion in some cases. Basically it gives you what I had previously suggested for the query_pid syscall before. In general, usage is translatepid repo

RE: [RFC PATCH 0/3] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-09-05 Thread Chen, Hanxiao
Hi, > -Original Message- > Quoting Chen Hanxiao (chenhanx...@cn.fujitsu.com): > > 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. > > > > Che

Re: [RFC PATCH 0/3] ns, procfs: pid conversion between ns and showing pidns hierarchy

2014-09-04 Thread Serge E. Hallyn
Quoting Chen Hanxiao (chenhanx...@cn.fujitsu.com): > 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_ent

[RFC PATCH 0/3] ns,procfs: pid conversion between ns and showing pidns hierarchy

2014-09-03 Thread Chen Hanxiao
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/pi