Some scripts wants to read this file to perform some sanity checks. Loaded modules is not security sensitive information, so this shouldn't be a problem to expose this in container.
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com> --- kernel/module.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/module.c b/kernel/module.c index 762716f..931987c 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -3742,8 +3742,6 @@ static char *module_flags(struct module *mod, char *buf) static void *m_start(struct seq_file *m, loff_t *pos) { mutex_lock(&module_mutex); - if (!ve_is_super(get_exec_env())) - return NULL; return seq_list_start(&modules, *pos); } -- 2.7.3 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel