Subject: | support ProtectionKey on kernels 4.9+ |
Date: | Wed, 29 Aug 2018 21:20:13 -0700 |
To: | bug-Linux-Smaps [...] rt.cpan.org |
From: | Sergiy Zuban <s.zuban [...] gmail.com> |
With modern kernels dies with "not parsed: ProtectionKey: 0" error.
Per http://man7.org/linux/man-pages/man5/proc.5.html
The "ProtectionKey" line (available since Linux 4.9, on x86
Show quoted text
>
> only) contains the memory protection key (see pkeys(7)) asso‐
>
> ciated with the virtual memory area.
>
>
ProtectionKey availability depends on hardware as well. For example, on
AWS m3 instances it's missing, but present for m4 instances.
Sergiy Zuban