From 37cd58d2d4de0db3768d8454e3dcd130e37f4855 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 5 Nov 2018 21:14:25 +0100 Subject: [PATCH] proc.5: Minor reworking of description of /proc/[tid] directories Signed-off-by: Michael Kerrisk --- man5/proc.5 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man5/proc.5 b/man5/proc.5 index 17b8a237d..fac40b882 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -188,6 +188,9 @@ to view the contents of .IR /proc/[tid] " subdirectories" Each one of these subdirectories contains files and subdirectories exposing information about the thread with the corresponding thread ID. +The contents of these directories are the same as the corresponding +.IR /proc/[pid]/task/[tid] +directories. .IP The .I /proc/[tid] @@ -2932,6 +2935,9 @@ visible when one uses .BR ls (1) to view the contents of .IR /proc ). +However, the pathnames of these directories are visible to +(i.e., usable as arguments in) +system calls that operate on pathnames. .TP .I /proc/apm Advanced power management version and battery information when