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]> --- kernel/sysctl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index ac4cb49e4b7e..bbe64929a56c 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, -- 2.47.1 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
