kernel_samsung_a53x/kernel/livepatch
Christoph Hellwig 9f48646718 kallsyms: refactor {,module_}kallsyms_on_each_symbol
[ Upstream commit 013c1667cf78c1d847152f7116436d82dcab3db4 ]

Require an explicit call to module_kallsyms_on_each_symbol to look
for symbols in modules instead of the call from kallsyms_on_each_symbol,
and acquire module_mutex inside of module_kallsyms_on_each_symbol instead
of leaving that up to the caller.  Note that this slightly changes the
behavior for the livepatch code in that the symbols from vmlinux are not
iterated anymore if objname is set, but that actually is the desired
behavior in this case.

Reviewed-by: Petr Mladek <pmladek@suse.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:32 +01:00
..
core.c kallsyms: refactor {,module_}kallsyms_on_each_symbol 2024-11-19 12:27:32 +01:00
core.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
patch.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
patch.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
shadow.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
state.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
state.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
transition.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
transition.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00