From 9fc4975c5e8604bd5c8d7360215930785b2f0817 Mon Sep 17 00:00:00 2001 From: Andrey Vagin Date: Mon, 18 May 2015 18:22:09 +0300 Subject: [PATCH] lsm: get host lsm type from the host mntns --- kerndat.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kerndat.c b/kerndat.c index 65e2c75393..b48f54cf2e 100644 --- a/kerndat.c +++ b/kerndat.c @@ -18,6 +18,7 @@ #include "asm/types.h" #include "cr_options.h" #include "util.h" +#include "lsm.h" struct kerndat_s kdat = { .tcp_max_rshare = 3U << 20, @@ -342,5 +343,7 @@ int kerndat_init_rst(void) if (!ret) ret = kerndat_has_memfd_create(); + host_lsm_type(); + return ret; }