Skip to content

Commit

Permalink
vdso: proxify the __vdso_clock_gettime64 function
Browse files Browse the repository at this point in the history
It was added in v5.3-rc1~211^2~4^2~10.

Fixes checkpoint-restore#2390

Signed-off-by: Andrei Vagin <[email protected]>
  • Loading branch information
avagin committed Jul 3, 2024
1 parent c6c83f1 commit 6f92787
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions criu/arch/x86/include/asm/vdso.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* This is a minimal amount of symbols
* we should support at the moment.
*/
#define VDSO_SYMBOL_MAX 6
#define VDSO_SYMBOL_MAX 7
#define VDSO_SYMBOL_GTOD 2

/*
Expand Down Expand Up @@ -42,11 +42,12 @@
const char *aarch_vdso_symbol3 = "__vdso_gettimeofday"; \
const char *aarch_vdso_symbol4 = "__vdso_time"; \
const char *aarch_vdso_symbol5 = "__kernel_sigreturn"; \
const char *aarch_vdso_symbol6 = "__kernel_rt_sigreturn";
const char *aarch_vdso_symbol6 = "__kernel_rt_sigreturn"; \
const char *aarch_vdso_symbol7 = "__vdso_clock_gettime64"; \

#define ARCH_VDSO_SYMBOLS \
aarch_vdso_symbol1, aarch_vdso_symbol2, aarch_vdso_symbol3, aarch_vdso_symbol4, aarch_vdso_symbol5, \
aarch_vdso_symbol6
aarch_vdso_symbol6, aarch_vdso_symbol7

/* "__kernel_vsyscall", */

Expand Down

0 comments on commit 6f92787

Please sign in to comment.