Re: [PATCH 3/4] rseq: Make rseq work with protection keys
From: Dave Hansen
Date: Fri Feb 21 2025 - 16:40:55 EST
On 2/21/25 13:11, Mathieu Desnoyers wrote:
> I have no clue what a "remote" pkey access is. Is this the io_uring
> use-case ?
Yeah, that's one of them.
It's basically all of the *_user_pages_remote() sites which are places
that the kernel does userspace memory manipulation but doesn't have a
good user *context* with which to do it, thus no good PKRU value.
The "remote" nomenclature is because these are mostly (all??) one
process accessing another process without that other process really
being involved.