-next.git - net-next plumbings
summaryrefslogtreecommitdiff
path: root/kernel/livepatch/core.c
diff options
context:
space:
mode:
authorChris J Arges <chris.j.arges@canonical.com>2015-12-01 20:40:56 -0600
committerJiri Kosina <jkosina@suse.cz>2015-12-03 23:01:27 +0100
commit444f9e99a840c4050c0530cfef81801a21a59f4c (patch)
tree72d000288180fa3d6312965110a26ea3b06fa09e /kernel/livepatch/core.c
parent064c89df6247cd829a7880cc8a87b7ed2cdfccd8 (diff)
livepatch: function,sympos scheme in livepatch sysfs directory
The following directory structure will allow for cases when the same function name exists in a single object. /sys/kernel/livepatch/<patch>/<object>/<function,sympos> The sympos number corresponds to the nth occurrence of the symbol name in kallsyms for the patched object. An example of patching multiple symbols can be found here: https://github.com/dynup/kpatch/issues/493 Signed-off-by: Chris J Arges <chris.j.arges@canonical.com> Reviewed-by: Petr Mladek <pmladek@suse.com> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/livepatch/core.c')