From: Bernhard Walle <bernhard-X9USDgGjgfuzQB+pC5nmwQ@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH] proc.5: Document /proc/thread-self
Date: Sun, 2 Nov 2014 22:08:40 +0100 [thread overview]
Message-ID: <1414962520-5480-1-git-send-email-bernhard@bwalle.de> (raw)
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
next reply other threads:[~2014-11-02 21:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-02 21:08 Bernhard Walle [this message]
[not found] ` <1414962520-5480-1-git-send-email-bernhard-X9USDgGjgfuzQB+pC5nmwQ@public.gmane.org>
2014-11-09 20:05 ` [PATCH] proc.5: Document /proc/thread-self Michael Kerrisk (man-pages)
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=1414962520-5480-1-git-send-email-bernhard@bwalle.de \
--to=bernhard-x9usdggjgfuzqb+pc5nmwq@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@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).