RE: [PATCH] ns: introduce getnspid syscall
From: chenhanxiao-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org <hidden>
Date: 2014-06-18 08:29:58
Also in:
lkml
-----Original Message----- From: mtk.linux.lists@gmail.com [mailto:mtk.linux.lists@gmail.com] On Behalf Of Michael Kerrisk Sent: Wednesday, June 18, 2014 2:27 AM To: Chen, Hanxiao/陈 晗霄 Cc: containers; Linux Kernel; Richard Weinberger; Serge Hallyn; Oleg Nesterov; David Howells; Eric W. Biederman; Andrew Morton; Al Viro; Linux API; Michael Kerrisk-manpages Subject: Re: [PATCH] ns: introduce getnspid syscall Hello Chen Hanxiao On Tue, Jun 17, 2014 at 12:21 PM, Chen Hanxiao [off-list ref] wrote:quoted
We need a direct method of getting the pid inside containers. If some issues occurred inside container guest, host user could not know which process is in trouble just by guest pid: the users of container guest only knew the pid inside containers. This will bring obstacle for trouble shooting. int getnspid(pid_t pid, int fd1, int fd2, int pidtype);Please CC linux-api@vger.kernel.org on all patches that change the API that the kernel presents to user space. See https://www.kernel.org/doc/man-pages/linux-api-ml.html Thanks, Michael
Thanks for reminding. - Chen _______________________________________________ Containers mailing list Containers@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/containers