Messages in this thread | | | Subject | Re: [PATCH] x86/fault: Fix wrong signal when vsyscall fails with pkey | From | Dave Hansen <> | Date | Thu, 29 Jul 2021 07:02:44 -0700 |
| |
On 7/28/21 11:24 PM, Jiashuo Liang wrote: > I agree that using ARCH_DEFAULT_PKEY is better. I think I am supposed to > send a patch v2 for the update?
Yes, please.
> By the way, the magic pkey number 0 also appears when bad_area_nosemaphore > calls __bad_area_nosemaphore and bad_area calls __bad_area. Do they need to > be changed to ARCH_DEFAULT_PKEY as well?
Yes, it would be best to change those as well. Ideally in a separate patch.
| |