Re: [PATCH 07/11 v2] livepatch: Trigger WARNING if livepatch function fails due to recursion
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2020-11-02 16:56:46
Also in:
lkml
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2020-11-02 16:56:46
Also in:
lkml
On Mon, 2 Nov 2020 15:41:09 +0100 Petr Mladek [off-list ref] wrote:
On Fri 2020-10-30 17:31:49, Steven Rostedt wrote:quoted
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org> If for some reason a function is called that triggers the recursion detection of live patching, trigger a warning. By not executing the live patch code, it is possible that the old unpatched function will be called placing the system into an unknown state. Link: https://lore.kernel.org/r/20201029145709.GD16774@alley (local) Cc: Josh Poimboeuf <redacted> Cc: Jiri Kosina <jikos@kernel.org> Cc: Miroslav Benes <mbenes@suse.cz> Cc: Joe Lawrence <joe.lawrence@redhat.com> Cc: live-patching@vger.kernel.org Suggested-by: Petr Mladek <pmladek@suse.com>It has actually been first suggested by Miroslav. He might want to take the fame and eventual shame ;-)
I'll switch suggested by to Miroslav.
quoted
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>Reviewed-by: Petr Mladek <pmladek@suse.com>
Thanks! -- Steve