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 76cf8448fad8dd3e1005de1ec9a260d3ce9e8497
Author: Vladimir Riabchun <[email protected]>
Date:   Tue Jun 2 21:10:36 2026 +0000

    fixup! ve/sysctl: virtualize printk, hotplug and randomize_va_space sysctls
    
    ve0 doesn't exist when !CONFIG_VE.
    
    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/sysctl.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index ac4cb49e4b7ef..bbe64929a56c1 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -1973,7 +1973,11 @@ static struct ctl_table kern_table[] = {
 #if defined(CONFIG_MMU)
        {
                .procname       = "randomize_va_space",
+#ifdef CONFIG_VE
                .data           = &ve0._randomize_va_space,
+#else
+               .data           = &_randomize_va_space,
+#endif
                .maxlen         = sizeof(int),
                .mode           = 0644 | S_ISVTX,
                .proc_handler   = proc_dointvec_virtual,
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to