The commit is pushed to "branch-rh9-5.14.0-42.vz9.14.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh9-5.14.0-42.vz9.14.3 ------> commit 01e35d4833af3530b786e37a73c0c483cb8b7cd8 Author: Nikita Yushchenko <nikita.yushche...@virtuozzo.com> Date: Mon Feb 28 19:14:41 2022 +0300
procfs: ipc: restore visibility of /proc/sysvipc/ in CT When porting proc visibility configuration to vz9, setting for sysvrpc entry was lost, perhaps due to move to a different source file. Fixes: beccd7c78f78 ("ve/proc: restricted proc-entries scope") Signed-off-by: Nikita Yushchenko <nikita.yushche...@virtuozzo.com> Feature: procfs: virtualization and visibility configuration --- ipc/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipc/util.c b/ipc/util.c index eb87f3bf38d0..aba7c2923839 100644 --- a/ipc/util.c +++ b/ipc/util.c @@ -89,7 +89,7 @@ struct ipc_proc_iface { */ static int __init ipc_init(void) { - proc_mkdir("sysvipc", NULL); + proc_mkdir_mode("sysvipc", S_ISVTX | S_IRUGO | S_IXUGO, NULL); sem_init(); msg_init(); shm_init(); _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel