[PATCH v3 1/3] mm/pkey: Add PKEY_UNRESTRICTED macro
Yury Khrustalev
yury.khrustalev at arm.com
Fri Nov 8 19:59:17 AEDT 2024
Hi Michael,
On Wed, Nov 06, 2024 at 12:00:42PM +1100, Michael Ellerman wrote:
> Yury Khrustalev <yury.khrustalev at arm.com> writes:
> > Memory protection keys (pkeys) uapi has two macros for pkeys restrictions:
> >
> > - PKEY_DISABLE_ACCESS 0x1
> > - PKEY_DISABLE_WRITE 0x2
> >
> > ...
> >
> > This patch adds PKEY_UNRESTRICTED macro defined as 0x0.
> >
> > ...
>
> Apparently you're not meant to modify the copy in tools/, there's a
> script that does that, which is run by acme, see:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/include/uapi/README
>
> cheers
Thank you for clarification. I've fixed the patch in v4 [1]
[1] https://lore.kernel.org/all/20241108085358.777687-1-yury.khrustalev@arm.com/
Kind regards,
Yury
More information about the Linuxppc-dev
mailing list