mirror of https://github.com/dynup/kpatch
681a6e80b9
Make kpatch_funs truly internal by: Defining it in core.c Adding a struct kpatch_internal, declared in kpatch.h and defined in core.c, that contains per patch module internal data. Adding an "internal" field to struct kpatch_modules. Allocating internal and funcs data in core.c, not in the patch module, since the patch module has no knowledge of kpatch_func anymore. Adding a "patch" field to kpatch_func that points directly to the kpatch_patch provided by the module (rather than a field-by-field copy) Signed-off-by: Seth Jennings <sjenning@redhat.com> |
||
---|---|---|
.. | ||
Makefile | ||
core.c | ||
kpatch.h |