On 10.09.2021 22:13, Daniel P. Smith wrote: > Hidden behind macro magic is an alternative xsm hook interface dedicated for > use when the dummy/default policy is the only one built. This alternative > interface increases code complexity and code size in the core security > framework of Xen.
What does "code size" refer to here? I would have expected the binaries to be smaller with inline functions in use. And ... > --- > xen/include/xsm/xsm-core.h | 51 ++- > xen/include/xsm/xsm.h | 275 ++++++++++------ > xen/xsm/Makefile | 2 +- > xen/xsm/dummy.c | 2 +- > xen/xsm/dummy.h | 659 +++++++++++++++++++++++++++++++++++++ > xen/xsm/silo.c | 2 +- > xen/xsm/xsm_core.c | 4 - > 7 files changed, 868 insertions(+), 127 deletions(-) > create mode 100644 xen/xsm/dummy.h ... the statistics here suggest an increase in source code size. Jan
