From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752855AbaHUBKn (ORCPT ); Wed, 20 Aug 2014 21:10:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46244 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751428AbaHUBKZ (ORCPT ); Wed, 20 Aug 2014 21:10:25 -0400 From: Richard Guy Briggs To: linux-audit@redhat.com, linux-kernel@vger.kernel.org, containers@lists.linux-foundation.org, linux-api@vger.kernel.org Cc: Richard Guy Briggs , arozansk@redhat.com, eparis@redhat.com, sgrubb@redhat.com, ebiederm@xmission.com, serge@hallyn.com Subject: [PATCH V4 4/8] Documentation: add a section for /proc//ns/ Date: Wed, 20 Aug 2014 21:09:37 -0400 Message-Id: <33a865923e59f054dbd8e63a85b1f3db4fc5e467.1408581429.git.rgb@redhat.com> In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --- Documentation/filesystems/proc.txt | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index ddc531a..c4bfd6f 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt @@ -42,6 +42,7 @@ Table of Contents 3.6 /proc//comm & /proc//task//comm 3.7 /proc//task//children - Information about task children 3.8 /proc//fdinfo/ - Information about opened file + 3.9 /proc//ns/{,_snum} - Information about process namespaces 4 Configuring procfs 4.1 Mount options @@ -1744,6 +1745,21 @@ pair provide additional information particular to the objects they represent. optional and may be omitted if no marks created yet. +3.9 /proc//ns/{,_snum} - Information about process namespaces +-------------------------------------------------------------------------- +These files provides information about the namespaces within which the process +is contained. The files named only with the namespace type contain a +link that lists the containing namespace' inode number in its proc filesystem. +The files with suffix _snum contain a link that lists the containing +namespace' instance serial number, unique per kernel since boot. The +namespace types are self-describing. + +The output format of the inode links is: + :[] +The output format of the serial number links is: + _snum:[] + + ------------------------------------------------------------------------------ Configuring procfs ------------------------------------------------------------------------------ -- 1.7.1