diff options
author | Bui Quang Minh <minhquangbui99@gmail.com> | 2022-07-21 17:26:58 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2022-07-26 04:22:14 +0300 |
commit | e15690ba190ddd48074588378034a83015dd97c7 (patch) | |
tree | f518bb51bbdbe7b984068752c4298d55a3dec665 /criu | |
parent | ebe9db972419da4f9cf4ecd1bdc3bfd7097c28cc (diff) |
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>
Diffstat (limited to 'criu')
-rw-r--r-- | criu/vdso.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |