]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
proc.5, proc_pid_wchan.5: Split /proc/PID/wchan from proc(5)
authorAlejandro Colomar <alx@kernel.org>
Tue, 15 Aug 2023 00:10:58 +0000 (02:10 +0200)
committerAlejandro Colomar <alx@kernel.org>
Tue, 15 Aug 2023 21:13:45 +0000 (23:13 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man5/proc.5
man5/proc_pid_wchan.5 [new file with mode: 0644]

index a7be35c47b4819ac1c5c2ef7edf44c2b45def511..5abbca19dccd6cb171f34c3438f9a71baa4337c7 100644 (file)
@@ -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 (file)
index 0000000..e425e4d
--- /dev/null
@@ -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)