livepatch: samples: add sample live patching module

Add a sample live patching module.

Signed-off-by: Seth Jennings <[email protected]>
Reviewed-by: Miroslav Benes <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Reviewed-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
Seth Jennings 2014-12-16 11:58:20 -06:00 • committed by Jiri Kosina
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