You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are no errors on kpatch insmod, or on the load of any kpatch modules. The symbols don't get patched either, and yet kpatch doesn't report any problems.
It would be just a simple addition to 4f7c587 if you accept commit, that gets and checks the ftrace_enabled symbol in the same way.
I should note that, after ftrace_bug() is called, this happens:
$ cat /proc/sys/kernel/ftrace_enabled
cat: /proc/sys/kernel/ftrace_enabled: No such device
So we could just replace if (ftrace_disabled) with if (!ftrace_enabled), but I think for sanity sake we ought to check both.
I'm happy to write this if you'd like.
The text was updated successfully, but these errors were encountered:
When I do this;
sudo sysctl kernel.ftrace_enabled=0
There are no errors on kpatch insmod, or on the load of any kpatch modules. The symbols don't get patched either, and yet kpatch doesn't report any problems.
It would be just a simple addition to 4f7c587 if you accept commit, that gets and checks the ftrace_enabled symbol in the same way.
I should note that, after ftrace_bug() is called, this happens:
$ cat /proc/sys/kernel/ftrace_enabled
cat: /proc/sys/kernel/ftrace_enabled: No such device
So we could just replace
if (ftrace_disabled)
withif (!ftrace_enabled)
, but I think for sanity sake we ought to check both.I'm happy to write this if you'd like.
The text was updated successfully, but these errors were encountered: