There are multiple objects that has Jail defined but can't be loaded in a sane way. This patch adds load_* macros for all such objects. It also extracts loaders from base macros to separate file. Load macros are defined dynamically to avoid repetition of definition and to unify capabilities of all such macros.
Fixes #28769 - add more loader macros
There are multiple objects that has Jail defined but can't be loaded in
a sane way. This patch adds load_* macros for all such objects. It also
extracts loaders from base macros to separate file. Load macros are
defined dynamically to avoid repetition of definition and to unify
capabilities of all such macros.