diff options
Diffstat (limited to 'main/linux-grsec/sync-core.patch')
| -rw-r--r-- | main/linux-grsec/sync-core.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main/linux-grsec/sync-core.patch b/main/linux-grsec/sync-core.patch new file mode 100644 index 0000000000..7923983042 --- /dev/null +++ b/main/linux-grsec/sync-core.patch @@ -0,0 +1,13 @@ +--- ./arch/x86/kernel/alternative.c.orig ++++ ./arch/x86/kernel/alternative.c +@@ -500,9 +500,9 @@ + + pax_open_kernel(); + memcpy(ktla_ktva(addr), opcode, len); ++ sync_core(); + pax_close_kernel(); + +- sync_core(); + local_irq_restore(flags); + /* Could also do a CLFLUSH here to speed up CPU recovery; but + that causes hangs on some VIA CPUs. */ |
