diff options
| author | Alejandro Colomar <alx@kernel.org> | 2023-08-15 02:10:58 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2023-08-15 23:13:45 +0200 |
| commit | 33aab53cf23fbc3ef47934146da424ec93b64aa3 (patch) | |
| tree | 6f540b0b6d28257a38f5f606ac6571900192e9b7 | |
| parent | 3982d2b587d7294768dc0a0bf02117b19be90092 (diff) | |
| download | man-pages-33aab53cf23fbc3ef47934146da424ec93b64aa3.tar.gz | |
proc.5, proc_pid_wchan.5: Split /proc/PID/wchan from proc(5)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | man5/proc.5 | 9 | ||||
| -rw-r--r-- | man5/proc_pid_wchan.5 | 21 |
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) |
