diff options
| author | Thomas Gleixner <[email protected]> | 2024-08-06 18:48:43 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2024-08-07 13:35:01 +0000 |
| commit | c48b5a4cf3125adb679e28ef093f66ff81368d05 (patch) | |
| tree | ec112fd4825d3743d81b429d6a0984d4c82e8536 /security/selinux/hooks.c | |
| parent | Linux 6.11-rc2 (diff) | |
| download | kernel-c48b5a4cf3125adb679e28ef093f66ff81368d05.tar.gz kernel-c48b5a4cf3125adb679e28ef093f66ff81368d05.zip | |
x86/mm: Fix PTI for i386 some more
So it turns out that we have to do two passes of
pti_clone_entry_text(), once before initcalls, such that device and
late initcalls can use user-mode-helper / modprobe and once after
free_initmem() / mark_readonly().
Now obviously mark_readonly() can cause PMD splits, and
pti_clone_pgtable() doesn't like that much.
Allow the late clone to split PMDs so that pagetables stay in sync.
[peterz: Changelog and comments]
Reported-by: Guenter Roeck <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
