aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-10-13 11:06:15 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-10-13 11:32:13 +0200
commiteb8487082c08e1ea7f8da22805dd4773310797a6 (patch)
tree6d458e985fa16bf7462c36711bcbc7643f562d5b
parent9b780b0654b0d92a4d77a3d4fc47512737bdbaed (diff)
downloadman-pages-eb8487082c08e1ea7f8da22805dd4773310797a6.tar.gz
proc.5: Rework 'smaps' VmFlags text, and add kernel version and example output
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man5/proc.57
1 files changed, 4 insertions, 3 deletions
diff --git a/man5/proc.5 b/man5/proc.5
index cac8cb7883..efd15e6fff 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -1659,6 +1659,7 @@ Swap: 0 kB
KernelPageSize: 4 kB
MMUPageSize: 4 kB
Locked: 0 kB
+VmFlags: rd ex mr mw me dw
.fi
.in
@@ -1696,9 +1697,9 @@ This entry is present only if the kernel was built with the
.B CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
configuration option.
-"VmFlags" field represents the kernel flags associated with
-the particular virtual memory area in two letter encoded manner.
-The codes are the following:
+The "VmFlags" line (available since Linux 3.8)
+represents the kernel flags associated with the virtual memory area,
+encoded using the following two-letter codes:
rd - readable
wr - writable