mirror of https://github.com/dynup/kpatch
readme: add some more Q&A's and a limitation
This commit is contained in:
parent
4f64ad6c2a
commit
c22610646e
15
README.md
15
README.md
|
@ -154,6 +154,8 @@ Limitations
|
||||||
schedule(), will fail to apply at runtime.
|
schedule(), will fail to apply at runtime.
|
||||||
- Patches which change functions that are only called in the kernel init path
|
- Patches which change functions that are only called in the kernel init path
|
||||||
will have no effect (obviously).
|
will have no effect (obviously).
|
||||||
|
- Currently, kernel module functions can't be patched -- only functions in the
|
||||||
|
base kernel image.
|
||||||
|
|
||||||
|
|
||||||
Frequently Asked Questions
|
Frequently Asked Questions
|
||||||
|
@ -232,6 +234,19 @@ We hope to make the following changes to other projects:
|
||||||
|
|
||||||
We do have plans to implement something like that.
|
We do have plans to implement something like that.
|
||||||
|
|
||||||
|
**Q. What kernels are supported?**
|
||||||
|
|
||||||
|
kpatch needs gcc >= 4.6 and Linux >= 3.7 for use of the -mfentry flag.
|
||||||
|
|
||||||
|
**Q. Is it possible to remove a patch?**
|
||||||
|
|
||||||
|
Yes. Just unload the patch module and the original function will be restored.
|
||||||
|
|
||||||
|
**Q. Can you apply multiple patches?**
|
||||||
|
|
||||||
|
Yes. Also, a single function can even be patched multiple times if needed.
|
||||||
|
|
||||||
|
|
||||||
Demonstration
|
Demonstration
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue