From 0ad6ad9c0cd89a04722ea5178f27609974fb280f Mon Sep 17 00:00:00 2001 From: Bernhard Walle Date: Sun, 2 Nov 2014 22:08:40 +0100 Subject: [PATCH] proc.5: Document /proc/thread-self /proc/thread-self has been introduced in Linux 3.17 with commit 0097875bd41528922fb3bb5f348c53f17e00e2fd. Signed-off-by: Bernhard Walle Signed-off-by: Michael Kerrisk --- man5/proc.5 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/man5/proc.5 b/man5/proc.5 index 57566664b..3284f46a3 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