From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Guillem Jover <guillem-+FW4gsLVM0RAfugRpC6u6w@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] proc.5: Document /proc/PID/exe behaviour on unlinked pathnames
Date: Mon, 04 May 2015 11:25:41 +0200 [thread overview]
Message-ID: <55473B15.1090608@gmail.com> (raw)
In-Reply-To: <20120101064056.GA23360-v62vTE6/wQGgM1MOaoewpti2O/JbrIOy@public.gmane.org>
Hello Guillem,
On 01/01/2012 07:40 AM, Guillem Jover wrote:
> Signed-off-by: Guillem Jover <guillem-+FW4gsLVM0RAfugRpC6u6w@public.gmane.org>
Long ago, this patch fell of the table. I just found it again,
and applied.
Cheers,
Michael
> ---
> man5/proc.5 | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/man5/proc.5 b/man5/proc.5
> index 5aca38a..8aa8798 100644
> --- a/man5/proc.5
> +++ b/man5/proc.5
> @@ -58,7 +58,7 @@
> .\" to see what information could be imported from that file
> .\" into this file.
> .\"
> -.TH PROC 5 2011-10-04 "Linux" "Linux Programmer's Manual"
> +.TH PROC 5 2011-12-29 "Linux" "Linux Programmer's Manual"
> .SH NAME
> proc \- process information pseudo-file system
> .SH DESCRIPTION
> @@ -174,6 +174,8 @@ You can even type
> .I /proc/[pid]/exe
> to run another copy of the same executable as is being run by
> process [pid].
> +If the pathname has been unlinked, the symbolic link will contain the
> +string \(aq (deleted)\(aq appended to the original pathname.
> .\" The following was still true as at kernel 2.6.13
> In a multithreaded process, the contents of this symbolic link
> are not available if the main thread has already terminated
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2015-05-04 9:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-01 6:40 [PATCH] proc.5: Document /proc/PID/exe behaviour on unlinked pathnames Guillem Jover
[not found] ` <20120101064056.GA23360-v62vTE6/wQGgM1MOaoewpti2O/JbrIOy@public.gmane.org>
2015-05-04 9:25 ` 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=55473B15.1090608@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=guillem-+FW4gsLVM0RAfugRpC6u6w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).