Re: [PATCH 3/6] PKEY: Apply PKEY_ENFORCE_API to mprotect

From: Kees Cook
Date: Tue May 16 2023 - 16:07:45 EST


On Mon, May 15, 2023 at 01:05:49PM +0000, jeffxu@xxxxxxxxxxxx wrote:
> From: Jeff Xu <jeffxu@xxxxxxxxxx>
>
> This patch enables PKEY_ENFORCE_API for the mprotect and
> mprotect_pkey syscalls.

All callers are from userspace -- this change looks like a no-op?

-Kees

--
Kees Cook