mirror of
https://github.com/dynup/kpatch
synced 2025-01-04 20:19:36 +00:00
Merge pull request #956 from sm00th/simple_api
Fix livepatch-enabled kernel detection in kpatch script
This commit is contained in:
commit
19c7564242
@ -126,7 +126,7 @@ find_core_module() {
|
||||
}
|
||||
|
||||
core_loaded () {
|
||||
grep -q -e "T klp_register_patch" -e "T kpatch_register" /proc/kallsyms
|
||||
grep -q -e "T klp_enable_patch" -e "T kpatch_register" /proc/kallsyms
|
||||
}
|
||||
|
||||
get_module_name () {
|
||||
|
Loading…
Reference in New Issue
Block a user