[Devel] [PATCH RHEL7 COMMIT] ve/kmod: rename {, fs-}binfmt_misc in the autoload whitelist
Konstantin Khorenko
khorenko at virtuozzo.com
Mon May 23 08:35:09 PDT 2016
The commit is pushed to "branch-rh7-3.10.0-327.18.2.vz7.14.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-327.18.2.vz7.14.7
------>
commit dd06f39ad333f95d63fa47090419b12d9d803566
Author: Dmitry Safonov <dsafonov at virtuozzo.com>
Date: Mon May 23 19:35:09 2016 +0400
ve/kmod: rename {,fs-}binfmt_misc in the autoload whitelist
Somehow I managed to miss it last 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>
khorenko@: the list should contain aliases, not module names.
---
kernel/kmod.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/kmod.c b/kernel/kmod.c
index 14879c5..4e53fef 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 */
More information about the Devel
mailing list