Hi Michael, On Wed, Nov 06, 2024 at 12:00:42PM +1100, Michael Ellerman wrote: > Yury Khrustalev <yury.khrustalev@xxxxxxx> 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@xxxxxxx/ Kind regards, Yury