Re: [PATCH 0/6] Memory Mapping (VMA) protection using PKU - set 1
From: Dave Hansen
Date: Tue May 16 2023 - 18:30:58 EST
On 5/16/23 15:17, Jeff Xu wrote:
>>> This set of patch covers mprotect/munmap, I plan to work on other
>>> syscalls after this.
>> Which ones are on your list currently?
>>
> mprotect/mprotect_pkey/munmap
> mmap/mremap
> madvice,brk,sbrk
What about pkey_free()?
Without that, someone can presumably free the pkey and then reallocate
it without PKEY_ENFORCE_API.