Kubernetes reads this file to check kernel version at the moment and potentially to check other options in the future.
https://jira.sw.ru/browse/PSBM-92107 Signed-off-by: Konstantin Khorenko <[email protected]> (cherry picked from vz7 commit 076550cd53c88885bdbb50282259d3eab88277f8) Signed-off-by: Vasily Averin <[email protected]> --- kernel/configs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/configs.c b/kernel/configs.c index 2df132b20217..61a6d3764b5f 100644 --- a/kernel/configs.c +++ b/kernel/configs.c @@ -74,7 +74,7 @@ static int __init ikconfig_init(void) struct proc_dir_entry *entry; /* create the current config file */ - entry = proc_create("config.gz", S_IFREG | S_IRUGO, NULL, + entry = proc_create("config.gz", S_IFREG | S_IRUGO | S_ISVTX, NULL, &ikconfig_file_ops); if (!entry) return -ENOMEM; -- 2.25.1 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
