Filling dummy module's hook to null value of xsm_operations structure
will generate debug message. This becomes boot time spew for module
like silo, which only sets a few hooks of itself. So remove the printing
to avoid boot time spew.
Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Xin Li <xin.li@citrix.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
#define set_to_dummy_if_null(ops, function) \
do { \
if ( !ops->function ) \
- { \
ops->function = xsm_##function; \
- if (ops != &dummy_xsm_ops) \
- dprintk(XENLOG_DEBUG, "Had to override the " #function \
- " security operation with the dummy one.\n"); \
- } \
} while (0)
void __init xsm_fixup_ops (struct xsm_operations *ops)