[PATCH] proc.5: wfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In the section for /proc/[pid]/smaps, the description of field
ProtectionKey occurs twice: both before and after the description of
VmFlags.

Changes made by this patch:
1) Only the first occurrence is kept because its order matches the
output of /proc/[pid]/smaps.
2) The kernel version that CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS was
introduced is only mentioned in the second occurrence. Now it's moved
to the first one.

Signed-off-by: Jing Peng <pj.hades@xxxxxxxxx>
---
 man5/proc.5 | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/man5/proc.5 b/man5/proc.5
index ed309380b..ac58c789a 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -1987,7 +1987,7 @@ contains the memory protection key (see
 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.
+configuration option (since Linux 4.6).
 .IP
 The "VmFlags" line (available since Linux 3.8)
 represents the kernel flags associated with the virtual memory area,
@@ -2026,13 +2026,6 @@ encoded using the following two-letter codes:
     um  - userfaultfd missing pages tracking (since Linux 4.3)
     uw  - userfaultfd wprotect pages tracking (since Linux 4.3)
 .IP
-"ProtectionKey" field contains the memory protection key (see
-.BR pkeys (7))
-associated with the virtual memory area.
-Present only if the kernel was built with the
-.B CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
-configuration option. (since Linux 4.6)
-.IP
 The
 .IR /proc/[pid]/smaps
 file is present only if the
--
2.29.1



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux