File pmap-ProtectionKey.diff of Package procps.30263
---
procps-pmap-legacy/pmap.c | 2 ++
1 file changed, 2 insertions(+)
--- procps-pmap-legacy/pmap.c
+++ procps-pmap-legacy/pmap.c 2023-08-15 13:03:46.559787816 +0000
@@ -57,6 +57,7 @@ static struct smap smap[] = {
{ "KernelPageSize", 0, 0, 0},
{ "MMUPageSize", 0, 0, 0},
{ "Locked", 0, 0, 0},
+ { "ProtectionKey", 0, 0, 0},
{ "VmFlags", 0, 0, 0},
{ 0 }
};
@@ -82,6 +83,7 @@ enum SmapTypes {
KernelPageSize,
MMUPageSize,
Locked,
+ ProtectionKey,
VmFlags,
};
static const size_t LastType = (size_t)(VmFlags+1);