On Thu 2026-08-06 11:30:00, Andrey Grodzovsky wrote: > kernel.ftrace_enabled=0 is now refused on kernels that deprecate the > knob, so the old disable/reload flow no longer applies there. Probe > for this with ftrace_disable_supported() and keep the full original > scenario (disable, fail to load a livepatch, re-enable, load, confirm > disable is refused while loaded) on kernels where it still works; > otherwise just confirm the write is refused. > > Suggested-by: Steven Rostedt <[email protected]> > Suggested-by: Joe Lawrence <[email protected]> > Assisted-by: Claude:claude-sonnet-5 > Signed-off-by: Andrey Grodzovsky <[email protected]>
It seems that this has already reached mainline. Anyway, for record, it looks good and seems to work as expected: Reviewed-by: Petr Mladek <[email protected]> Tested-by: Petr Mladek <[email protected]> Best Regards, Petr
