summaryrefslogtreecommitdiffstats
path: root/kernel/module.c
diff options
context:
space:
mode:
authorZhou Chengming <zhouchengming1@huawei.com>2015-11-06 14:25:00 +0800
committerJiri Kosina <jkosina@suse.cz>2015-11-11 17:36:04 +0100
commite41b104c7dba92443e594e6bc86e4b0bf1cdf573 (patch)
tree1793ed3dbe6268a7e153afb60812e1d85b84c18f /kernel/module.c
parent99aaa9c64be5fe728975109c96ef297f5650883d (diff)
downloadtalos-op-linux-e41b104c7dba92443e594e6bc86e4b0bf1cdf573.tar.gz
talos-op-linux-e41b104c7dba92443e594e6bc86e4b0bf1cdf573.zip
livepatch: x86: fix relocation computation with kASLR
With kASLR enabled, old_addr provided by patch module is being shifted accrodingly so that the symbol lookups work. To have module relocations handled properly as well, the same transformation needs to be perfomed on relocation address information. [jkosina@suse.cz: extended / reworded changelog a bit] Reported-by: Cyril B. <cbay@alwaysdata.com> Signed-off-by: Zhou Chengming <zhouchengming1@huawei.com> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud