Disallow a module to load if SCS dynamic patching fails for its code. For module loading, instead of running a dry-run to check for patching errors, try to run patching in the first run and propagate any errors so module loading will fail. Signed-off-by: Adrian Barnaś <abarnas@google.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Will Deacon <will@kernel.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| idreg-override.c | ||
| kaslr_early.c | ||
| map_kernel.c | ||
| map_range.c | ||
| patch-scs.c | ||
| pi.h | ||
| relacheck.c | ||
| relocate.c | ||