aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man5/proc.59
-rw-r--r--man5/proc_pid_wchan.521
2 files changed, 21 insertions, 9 deletions
diff --git a/man5/proc.5 b/man5/proc.5
index a7be35c47b..5abbca19dc 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -353,15 +353,6 @@ it is governed by the
.B CONFIG_PROC_CHILDREN
option.
.TP
-.IR /proc/ pid /wchan " (since Linux 2.6.0)"
-The symbolic name corresponding to the location
-in the kernel where the process is sleeping.
-.IP
-Permission to access this file is governed by a ptrace access mode
-.B PTRACE_MODE_READ_FSCREDS
-check; see
-.BR ptrace (2).
-.TP
.IR /proc/ tid
There is a numerical subdirectory for each running thread
that is not a thread group leader
diff --git a/man5/proc_pid_wchan.5 b/man5/proc_pid_wchan.5
new file mode 100644
index 0000000000..e425e4da4e
--- /dev/null
+++ b/man5/proc_pid_wchan.5
@@ -0,0 +1,21 @@
+.\" Copyright (C) 1994, 1995, Daniel Quinlan <quinlan@yggdrasil.com>
+.\" Copyright (C) 2002-2008, 2017, Michael Kerrisk <mtk.manpages@gmail.com>
+.\" Copyright (C) 2023, Alejandro Colomar <alx@kernel.org>
+.\"
+.\" SPDX-License-Identifier: GPL-3.0-or-later
+.\"
+.TH proc_pid_wchan 5 (date) "Linux man-pages (unreleased)"
+.SH NAME
+/proc/pid/wchan \- wait channel
+.SH DESCRIPTION
+.TP
+.IR /proc/ pid /wchan " (since Linux 2.6.0)"
+The symbolic name corresponding to the location
+in the kernel where the process is sleeping.
+.IP
+Permission to access this file is governed by a ptrace access mode
+.B PTRACE_MODE_READ_FSCREDS
+check; see
+.BR ptrace (2).
+.SH SEE ALSO
+.BR proc (5)