aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-10-13 11:01:05 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-10-13 11:32:08 +0200
commit9b780b0654b0d92a4d77a3d4fc47512737bdbaed (patch)
tree909e82f17c1cc2d3d6e6694fba43a16509d46909
parent3cb972b3bb5232c2152f84d5097584f1fecfa64d (diff)
downloadman-pages-9b780b0654b0d92a4d77a3d4fc47512737bdbaed.tar.gz
proc.5: Rework 'smaps' ProtectionKey text and add some details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man5/proc.58
1 files changed, 8 insertions, 0 deletions
diff --git a/man5/proc.5 b/man5/proc.5
index 939045edf1..cac8cb7883 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -1688,6 +1688,14 @@ patch reports "MMUPageSize" as the page size used by the MMU.
The "Locked" indicates whether the mapping is locked in memory
or not.
+The "ProtectionKey" line (available since Linux 4.9, on x86 only)
+contains the memory protection key (see
+.BR pkeys (7))
+associated with the virtual memory area.
+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: