Messages in this thread | | | Date | Mon, 29 Oct 2018 07:36:26 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH 1/2] x86/pkeys: copy pkey state at fork() |
| |
* Daniel Micay <danielmicay@gmail.com> wrote:
> > I suppose we could add a new flag for pkey_get() or something. > > That would work, since I can apply the workaround (disabling the > feature in child processes) if I get EINVAL. The flag wouldn't need to > do anything, just existing and being tied to this patch so I have a > way to detect that I can safely use MPK after fork.
A new flag for the pkey_alloc() syscall, right?
Thanks,
Ingo
| |