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.