Commit 1da7d662 authored by Zheng Yejian's avatar Zheng Yejian
Browse files

livepatch/core: Avoid conflict with static {call,key}

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7W46D



--------------------------------

static call and static key allow user to modify instructions on call
site, relate configs are: CONFIG_HAVE_STATIC_CALL_INLINE for static
call, CONFIG_JUMP_LABEL for static key.

When they exist in first several instruction of an old function, and
livepatch could also modify there, then confliction happened.

To avoid the confliction, we don't allow a livepatch module of this case
to be inserted.

Signed-off-by: default avatarZheng Yejian <zhengyejian1@huawei.com>
parent bfb8e0cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment