diff options
| author | Mike Rapoport (Microsoft) <[email protected]> | 2025-06-03 11:14:45 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2025-06-11 09:20:52 +0000 |
| commit | 7cd9a11dd0c3d1dd225795ed1b5b53132888e7b5 (patch) | |
| tree | 50f0c07dc45da5f5b73f4475ec55a810bcc9e44b /net/unix/af_unix.c | |
| parent | x86/its: explicitly manage permissions for ITS pages (diff) | |
| download | kernel-7cd9a11dd0c3d1dd225795ed1b5b53132888e7b5.tar.gz kernel-7cd9a11dd0c3d1dd225795ed1b5b53132888e7b5.zip | |
Revert "mm/execmem: Unify early execmem_cache behaviour"
The commit d6d1e3e6580c ("mm/execmem: Unify early execmem_cache
behaviour") changed early behaviour of execemem ROX cache to allow its
usage in early x86 code that allocates text pages when
CONFIG_MITGATION_ITS is enabled.
The permission management of the pages allocated from execmem for ITS
mitigation is now completely contained in arch/x86/kernel/alternatives.c
and therefore there is no need to special case early allocations in
execmem.
This reverts commit d6d1e3e6580ca35071ad474381f053cbf1fb6414.
Signed-off-by: Mike Rapoport (Microsoft) <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[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
