summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyro Demma <myro@myromyro.com>2026-04-28 15:30:01 +0200
committerJonathan Corbet <corbet@lwn.net>2026-05-03 09:07:35 -0600
commit80647a62857ab530444c9bbb2f8aace17ff49b77 (patch)
tree3fad609146e0bc6739a40b5fb593e0651f2dee98
parent45ef180629cb73324f3a2cb962bce5e9fe6f1aa6 (diff)
downloadlinux-80647a62857ab530444c9bbb2f8aace17ff49b77.tar.gz
linux-80647a62857ab530444c9bbb2f8aace17ff49b77.zip
docs: proc: fix minor grammar and formatting issues
Fix missing "from" in "prevent <pid> being reused" and add spacing in vm_area_struct range notation for readability. No functional changes. Signed-off-by: Myro Demma <myro@myromyro.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20260428133001.11384-1-myro@myromyro.com>
-rw-r--r--Documentation/filesystems/proc.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
index 3c6e4f52f3e4..a4c2b22c08ef 100644
--- a/Documentation/filesystems/proc.rst
+++ b/Documentation/filesystems/proc.rst
@@ -118,7 +118,7 @@ PTRACE_MODE_ATTACH permissions; CAP_PERFMON capability does not grant access
to /proc/PID/mem for other processes.
Note that an open file descriptor to /proc/<pid> or to any of its
-contained files or subdirectories does not prevent <pid> being reused
+contained files or subdirectories does not prevent <pid> from being reused
for some other process in the event that <pid> exits. Operations on
open /proc/<pid> file descriptors corresponding to dead processes
never act on any new process that the kernel may, through chance, have
@@ -2211,7 +2211,7 @@ the process is maintaining. Example output::
| lr-------- 1 root root 64 Jan 27 11:24 400000-41a000 -> /usr/bin/ls
The name of a link represents the virtual memory bounds of a mapping, i.e.
-vm_area_struct::vm_start-vm_area_struct::vm_end.
+vm_area_struct::vm_start - vm_area_struct::vm_end.
The main purpose of the map_files is to retrieve a set of memory mapped
files in a fast way instead of parsing /proc/<pid>/maps or