The commit is pushed to "branch-rh10-6.12.0-55.52.1.5.x.vz10-ovz" and will 
appear at [email protected]:openvz/vzkernel.git
after rh10-6.12.0-55.52.1.5.29.vz10
------>
commit 2ae02ab29a3d7a1ba678a5173ff2e02c844dcb57
Author: Vladimir Riabchun <[email protected]>
Date:   Tue Jun 2 21:10:27 2026 +0000

    fixup! ve/cgroup: Allow to write to several safe cgroup files from CT
    
    https://virtuozzo.atlassian.net/browse/VSTOR-130116
    
    Feature: !CONFIG_VE build
    Signed-off-by: Vladimir Riabchun <[email protected]>
    Reviewed-by: Vasileios Almpanis <[email protected]>
---
 kernel/cgroup/cgroup.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index 932414b882dd9..e32589e2f305e 100644
--- a/kernel/cgroup/cgroup.c
+++ b/kernel/cgroup/cgroup.c
@@ -4793,9 +4793,9 @@ static ssize_t cgroup_file_write(struct kernfs_open_file 
*of, char *buf,
 
        if (!ve_is_super(get_exec_env())
            && test_bit(CGRP_VE_ROOT, &cgrp->flags)
-            && !get_exec_env()->is_pseudosuper
-            && !(cft->flags & CFTYPE_VE_WRITABLE))
-                return -EPERM;
+           && !get_exec_env()->is_pseudosuper
+           && !(cft->flags & CFTYPE_VE_WRITABLE))
+               return -EPERM;
 
        if (cft->write)
                return cft->write(of, buf, nbytes, off);
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to