Messages in this thread | | | Date | Wed, 3 Aug 2022 16:26:37 +0200 | From | Andrew Jones <> | Subject | Re: [PATCH] selftests: kvm: Fix a compile error in selftests/kvm/rseq_test.c |
| |
On Wed, Aug 03, 2022 at 09:58:51PM +0800, Jinrong Liang wrote: > My ldd version is (GNU libc) 2.28, and I get a compilation error in this case. > But I use another ldd (Ubuntu GLIBC 2.31-0ubuntu9.2) 2.31 is compiling fine. > This shows that compilation errors may occur in different GNU libc environments. > Would it be more appropriate to use syscall for better compatibility?
OK, it's a pity, but no big deal to use syscall().
Reviewed-by: Andrew Jones <andrew.jones@linux.dev>
Thanks, drew
| |