[Devel] [PATCH RHEL7] kmod/whitelist: rename {,fs-}binfmt_misc

Dmitry Safonov dsafonov at virtuozzo.com
Mon May 23 08:15:06 PDT 2016


Somehow I managed to miss it in the first time.

Fixes: commit 8b9a6bef982e ("ve/kmod: list of allowed to autoload in CT
modules")

https://jira.sw.ru/browse/PSBM-41216

Cc: Kirill Tkhai <ktkhai at virtuozzo.com>
Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
 kernel/kmod.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/kmod.c b/kernel/kmod.c
index 14879c5dd816..4e53fefab960 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -377,7 +377,7 @@ static inline int module_payload_iptable_allowed(const char *module)
 
 /* ve0 allowed modules */
 static const char * const ve0_allowed_mod[] = {
-	"binfmt_misc",
+	"fs-binfmt_misc",
 
 	/* inet_diag, inet6_diag  */
 	"net-pf-16-proto-4-type-2",	/* PF_NETLINK, NETLINK_SOCK_DIAG, AF_INET */
-- 
2.8.2



More information about the Devel mailing list