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 9d9be4b4cd9e75c116d80d3cab080458117d2196
Author: Vladimir Riabchun <[email protected]>
Date: Tue Jun 2 21:10:56 2026 +0000
fixup! ve: Implement per ve randomize_va_space
net_namespace.h includes skbuff.h, which uses ns_to_kernel_old_timeval
function. Unfortunately, compat_binfmt_elf.c redefines this function,
causing return type mismatch.
This include can't be dropped due to randomize_va_space usage.
With CONFIG_VE it requires ve_struct definition, which
can't be added in mm.h due to other weird compilation issues.
Instead, guard this include.
https://virtuozzo.atlassian.net/browse/VSTOR-130116
Feature: !CONFIG_VE build
Signed-off-by: Vladimir Riabchun <[email protected]>
Reviewed-by: Vasileios Almpanis <[email protected]>
---
fs/binfmt_elf.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c
index 3757c814c5257..adaa759dea44e 100644
--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -46,7 +46,9 @@
#include <linux/cred.h>
#include <linux/dax.h>
#include <linux/uaccess.h>
+#ifdef CONFIG_VE
#include <linux/ve.h>
+#endif
#include <linux/rseq.h>
#include <asm/param.h>
#include <asm/page.h>
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel