* [PATCH] proc.5: Document /proc/thread-self
@ 2014-11-02 21:08 Bernhard Walle
[not found] ` <1414962520-5480-1-git-send-email-bernhard-X9USDgGjgfuzQB+pC5nmwQ@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Walle @ 2014-11-02 21:08 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
Add some words about /proc/thread-self that has been introduced in Linux
3.17 with commit 0097875bd41528922fb3bb5f348c53f17e00e2fd.
Signed-off-by: Bernhard Walle <bernhard-X9USDgGjgfuzQB+pC5nmwQ@public.gmane.org>
---
man5/proc.5 | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/man5/proc.5 b/man5/proc.5
index da4b5b6..e5b090d 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -4217,6 +4217,16 @@ for easy understanding.
.BR svipc (7)
provides further background on the information shown by these files.
.TP
+.IR /proc/thread-self " (since Linux 3.17)"
+This directory refers to the thread accessing the
+.I /proc
+filesystem,
+and is identical to the
+.I /proc/self/task/[tid]
+directory named by the process thread ID
+.RI ( [tid] )
+of the same thread.
+.TP
.IR /proc/timer_list " (since Linux 2.6.21)"
.\" commit 289f480af87e45f7a6de6ba9b4c061c2e259fe98
This read-only file exposes a list of all currently pending
--
2.1.2
--
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] proc.5: Document /proc/thread-self
[not found] ` <1414962520-5480-1-git-send-email-bernhard-X9USDgGjgfuzQB+pC5nmwQ@public.gmane.org>
@ 2014-11-09 20:05 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-11-09 20:05 UTC (permalink / raw)
To: Bernhard Walle
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
linux-man-u79uwXL29TY76Z2rM5mHXA
Hello Bernhard,
On 11/02/2014 10:08 PM, Bernhard Walle wrote:
> Add some words about /proc/thread-self that has been introduced in Linux
> 3.17 with commit 0097875bd41528922fb3bb5f348c53f17e00e2fd.
Thank you for this patch, which I have applied.
MfG aus München,
Michael
> Signed-off-by: Bernhard Walle <bernhard-X9USDgGjgfuzQB+pC5nmwQ@public.gmane.org>
> ---
> man5/proc.5 | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/man5/proc.5 b/man5/proc.5
> index da4b5b6..e5b090d 100644
> --- a/man5/proc.5
> +++ b/man5/proc.5
> @@ -4217,6 +4217,16 @@ for easy understanding.
> .BR svipc (7)
> provides further background on the information shown by these files.
> .TP
> +.IR /proc/thread-self " (since Linux 3.17)"
> +This directory refers to the thread accessing the
> +.I /proc
> +filesystem,
> +and is identical to the
> +.I /proc/self/task/[tid]
> +directory named by the process thread ID
> +.RI ( [tid] )
> +of the same thread.
> +.TP
> .IR /proc/timer_list " (since Linux 2.6.21)"
> .\" commit 289f480af87e45f7a6de6ba9b4c061c2e259fe98
> This read-only file exposes a list of all currently pending
>
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-09 20:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-02 21:08 [PATCH] proc.5: Document /proc/thread-self Bernhard Walle
[not found] ` <1414962520-5480-1-git-send-email-bernhard-X9USDgGjgfuzQB+pC5nmwQ@public.gmane.org>
2014-11-09 20:05 ` Michael Kerrisk (man-pages)
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).