mirror of https://github.com/dynup/kpatch
README.md: mention callbacks/shadow variables in limitations
Signed-off-by: Simon Ruderich <simon@ruderich.org>
This commit is contained in:
parent
fb2801e4a5
commit
ae820f5d19
|
@ -473,11 +473,10 @@ Limitations
|
||||||
supported. kpatch-build will return an error if the patch attempts
|
supported. kpatch-build will return an error if the patch attempts
|
||||||
to do so.
|
to do so.
|
||||||
|
|
||||||
- Patches which modify statically allocated data are not supported.
|
- Patches which modify statically allocated data are not directly supported.
|
||||||
kpatch-build will detect that and return an error. (In the future
|
kpatch-build will detect that and return an error. This limitation can be
|
||||||
we will add a facility to support it. It will probably require the
|
overcome by using callbacks or shadow variables, as described in the
|
||||||
user to write code which runs at patch module loading time which manually
|
[Patch Author Guide](doc/patch-author-guide.md).
|
||||||
updates the data.)
|
|
||||||
|
|
||||||
- Patches which change the way a function interacts with dynamically
|
- Patches which change the way a function interacts with dynamically
|
||||||
allocated data might be safe, or might not. It isn't possible for
|
allocated data might be safe, or might not. It isn't possible for
|
||||||
|
|
Loading…
Reference in New Issue