linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Kirill Tkhai <ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org>,
	linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	keescook-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: Re: [PATCH] [PATCH] namespaces.7: Document the /proc/[pid]/ns/pid_for_children file
Date: Tue, 23 May 2017 21:43:51 +0200	[thread overview]
Message-ID: <21c9c25d-42f8-74b0-3ffd-6300090bbd3f@gmail.com> (raw)
In-Reply-To: <149511988876.22402.2393921521433842598.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>

Hello Kirill,

On 05/18/2017 05:05 PM, Kirill Tkhai wrote:
> Corresponding kernel commit: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eaa0d190bfe1ed891b814a52712dcd852554cb08
> 
> Signed-off-by: Kirill Tkhai <ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org>

Thanks you very much for the patch! Applied (with some tweaks; see the version in Git).

Cheers,

Michael

> ---
>  man7/namespaces.7 |   10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/man7/namespaces.7 b/man7/namespaces.7
> index 09f031347..67ea0ced0 100644
> --- a/man7/namespaces.7
> +++ b/man7/namespaces.7
> @@ -125,6 +125,7 @@ lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 ipc \-> ipc:[4026531839]
>  lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 mnt \-> mnt:[4026531840]
>  lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 net \-> net:[4026531969]
>  lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 pid \-> pid:[4026531836]
> +lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 pid_for_children \-> pid:[4026531834]
>  lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 user \-> user:[4026531837]
>  lrwxrwxrwx. 1 mtk mtk 0 Apr 28 12:46 uts \-> uts:[4026531838]
>  .fi
> @@ -186,7 +187,14 @@ This file is a handle for the network namespace of the process.
>  .TP
>  .IR /proc/[pid]/ns/pid " (since Linux 3.8)"
>  .\" commit 57e8391d327609cbf12d843259c968b9e5c1838f
> -This file is a handle for the PID namespace of the process.
> +This file is a handle for the PID namespace of the process. It's
> +permanent during the whole process life.
> +.TP
> +.IR /proc/[pid]/ns/pid_for_children " (since Linux 4.12)"
> +.\" commit eaa0d190bfe1ed891b814a52712dcd852554cb08
> +This file is a handle for the PID namespace of a next born child
> +of the process. It's changed after unshare(2) and via setns(2),
> +so the file may differ from /proc/[pid]/ns/pid.
>  .TP
>  .IR /proc/[pid]/ns/user " (since Linux 3.8)"
>  .\" commit cde1975bc242f3e1072bde623ef378e547b73f91
> 
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

      parent reply	other threads:[~2017-05-23 19:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-18 15:05 Kirill Tkhai
     [not found] ` <149511988876.22402.2393921521433842598.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2017-05-23 19:43   ` Michael Kerrisk (man-pages) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21c9c25d-42f8-74b0-3ffd-6300090bbd3f@gmail.com \
    --to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=keescook-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
    --cc=ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org \
    --cc=linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --subject='Re: [PATCH] [PATCH] namespaces.7: Document the /proc/[pid]/ns/pid_for_children file' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).