From c22610646e62a17f801df9c63a699cb8283c26ad Mon Sep 17 00:00:00 2001 From: Josh Poimboeuf Date: Thu, 20 Feb 2014 21:10:09 -0600 Subject: [PATCH] readme: add some more Q&A's and a limitation --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 64638f8..44195d9 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,8 @@ Limitations schedule(), will fail to apply at runtime. - Patches which change functions that are only called in the kernel init path will have no effect (obviously). +- Currently, kernel module functions can't be patched -- only functions in the + base kernel image. 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. +**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 -------------