On Fri, 15 Sep 2017 18:21:07 -0700
Ram Pai wrote:
> +#ifdef CONFIG_ARCH_HAS_PKEYS
> + if (arch_pkeys_enabled())
Sorry, I missed this bit in my previous review
the patch makes sense
> + seq_printf(m, "ProtectionKey: %8u\n", vma_pkey(vma));
> +#endif
> +
Balbir
On Fri, 15 Sep 2017 18:21:07 -0700
Ram Pai wrote:
> Currently the architecture specific code is expected to
> display the protection keys in smap for a given vma.
> This can lead to redundant code and possibly to divergent
> formats in which the key gets displayed.
>
> This patch chang
Currently the architecture specific code is expected to
display the protection keys in smap for a given vma.
This can lead to redundant code and possibly to divergent
formats in which the key gets displayed.
This patch changes the implementation. It displays the
pkey only if the archite