diff options
| author | Peter Zijlstra (Intel) <[email protected]> | 2025-06-03 11:14:44 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2025-06-11 09:20:52 +0000 |
| commit | a82b26451de126a5ae130361081986bc459afe9b (patch) | |
| tree | b6693dd1eb8882055be459afb294cbece4df350b /net/unix/af_unix.c | |
| parent | x86/its: move its_pages array to struct mod_arch_specific (diff) | |
| download | kernel-a82b26451de126a5ae130361081986bc459afe9b.tar.gz kernel-a82b26451de126a5ae130361081986bc459afe9b.zip | |
x86/its: explicitly manage permissions for ITS pages
execmem_alloc() sets permissions differently depending on the kernel
configuration, CPU support for PSE and whether a page is allocated
before or after mark_rodata_ro().
Add tracking for pages allocated for ITS when patching the core kernel
and make sure the permissions for ITS pages are explicitly managed for
both kernel and module allocations.
Fixes: 872df34d7c51 ("x86/its: Use dynamic thunks for indirect branches")
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Co-developed-by: Mike Rapoport (Microsoft) <[email protected]>
Signed-off-by: Mike Rapoport (Microsoft) <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Nikolay Borisov <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
