livepatch: samples: add sample live patching module

Add a sample live patching module.

Signed-off-by: Seth Jennings <sjenning@redhat.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Seth Jennings
2014-12-16 11:58:20 -06:00
committed by Jiri Kosina
parent b700e7f03d
commit 13d1cf7e70
5 changed files with 97 additions and 1 deletions

View File

@@ -63,4 +63,11 @@ config SAMPLE_RPMSG_CLIENT
to communicate with an AMP-configured remote processor over
the rpmsg bus.
config SAMPLE_LIVE_PATCHING
tristate "Build live patching sample -- loadable modules only"
depends on LIVE_PATCHING && m
help
Builds a sample live patch that replaces the procfs handler
for /proc/cmdline to print "this has been live patched".
endif # SAMPLES