Merge pull request #956 from sm00th/simple_api

Fix livepatch-enabled kernel detection in kpatch script
This commit is contained in:
Joe Lawrence 2019-05-07 10:06:36 -04:00 committed by GitHub
commit 19c7564242
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 () {