diff options
| author | Josh Poimboeuf <jpoimboe@kernel.org> | 2026-04-19 19:57:48 -0700 |
|---|---|---|
| committer | Josh Poimboeuf <jpoimboe@kernel.org> | 2026-05-04 21:16:03 -0700 |
| commit | df0d7bb04a27e48a0fb5fd32223f5ab248876cab (patch) | |
| tree | f61defdc3ed5796d0f08077a881cf4a9b6f557c1 /scripts/livepatch | |
| parent | d8c3e262361b04984f0322ce5b88ea52dab37318 (diff) | |
klp-build: Reject patches to realmode
Realmode code is compiled as a separate 16-bit binary and embedded into
the kernel image via rmpiggy.S. It can't be livepatched.
Acked-by: Song Liu <song@kernel.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'scripts/livepatch')
| -rwxr-xr-x | scripts/livepatch/klp-build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/livepatch/klp-build b/scripts/livepatch/klp-build index a70d48d98453..2bb35de5db75 100755 --- a/scripts/livepatch/klp-build +++ b/scripts/livepatch/klp-build @@ -357,7 +357,7 @@ check_unsupported_patches() { for file in "${files[@]}"; do case "$file" in - lib/*|*/vdso/*|*.S) + lib/*|*/vdso/*|*/realmode/rm/*|*.S) die "${patch}: unsupported patch to $file" ;; esac |
