From 70a9cd6fbf46d96b7bd49f38f3e013bd892a990e Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Thu, 21 Jul 2022 21:26:58 +0700 Subject: [PATCH] vdso-compat: Increase the reserved buffer for compat vdso On Arch Linux with 5.18.3-zen1-1-zen kernel, the vdso's size is 3 pages which exceeds the current 2-page reserved buffer. This commit simply increases the reserved buffer size to 4 pages. Fixes: https://github.com/checkpoint-restore/criu/issues/1916 Signed-off-by: Bui Quang Minh --- criu/vdso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/criu/vdso.c b/criu/vdso.c index 1a51f1451..7de2fae78 100644 --- a/criu/vdso.c +++ b/criu/vdso.c @@ -479,7 +479,7 @@ out_close: return ret; } -#define COMPAT_VDSO_BUF_SZ (PAGE_SIZE * 2) +#define COMPAT_VDSO_BUF_SZ (PAGE_SIZE * 4) static int vdso_fill_compat_symtable(struct vdso_maps *native, struct vdso_maps *compat) { void *vdso_mmap;