mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
klp-build: Reject patches to vDSO
vDSO code runs in userspace and can't be livepatched. Such patches also cause spurious "new function" errors due to generated files like vdso*-image.c having unstable line numbers across builds. Acked-by: Song Liu <song@kernel.org> Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
This commit is contained in:
parent
f3048888ea
commit
d8c3e26236
|
|
@ -357,7 +357,7 @@ check_unsupported_patches() {
|
|||
|
||||
for file in "${files[@]}"; do
|
||||
case "$file" in
|
||||
lib/*|*.S)
|
||||
lib/*|*/vdso/*|*.S)
|
||||
die "${patch}: unsupported patch to $file"
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user