kernel_optimize_test/samples/livepatch
Petr Mladek f46e49a9cc livepatch: Handle allocation failure in the sample of shadow variable API
klp_shadow_alloc() is not handled in the sample of shadow variable API.
It is not strictly necessary because livepatch_fix1_dummy_free() is
able to handle the potential failure. But it is an example and it should
use the API a clean way.

Signed-off-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Joe Lawrence <joe.lawrence@redhat.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2020-01-17 11:12:06 +01:00
..
livepatch-callbacks-busymod.c
livepatch-callbacks-demo.c
livepatch-callbacks-mod.c
livepatch-sample.c
livepatch-shadow-fix1.c livepatch: Handle allocation failure in the sample of shadow variable API 2020-01-17 11:12:06 +01:00
livepatch-shadow-fix2.c livepatch/sample: Use the right type for the leaking data pointer 2020-01-17 11:12:06 +01:00
livepatch-shadow-mod.c livepatch/sample: Use the right type for the leaking data pointer 2020-01-17 11:12:06 +01:00
Makefile