mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
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 <minhquangbui99@gmail.com>
This commit is contained in:
committed by
Andrei Vagin
parent
b30f3ee3d3
commit
70a9cd6fbf
@@ -479,7 +479,7 @@ out_close:
|
|||||||
return ret;
|
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)
|
static int vdso_fill_compat_symtable(struct vdso_maps *native, struct vdso_maps *compat)
|
||||||
{
|
{
|
||||||
void *vdso_mmap;
|
void *vdso_mmap;
|
||||||
|
Reference in New Issue
Block a user