kpatch: update sympos for duplicate symbols in vmlinux
create-diff-object: fix segment fault when sec2->rela is NULL
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
uname-build-check is only needed when building package in obs
environment which relys on kernel, it should not be installed
in general environment.
Signed-off-by: Bin Hu <hubin57@huawei.com>
ALTINSTR_ENTRY_CB have callback which referenct to other function
in .altinstructions, currently kaptch don't support new/changed
ALTINSTR_ENTRY_CB, so error on detect this case.
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
Static variables will be removed due to compiler optimization.
And some static variables can be treated as new variables, such as
static variables in print limit macros. So add KPATCH_IGNORE_STATIC
to tell kpatch to treat the static variables as new variables.
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>