We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07f24dc commit 630b99aCopy full SHA for 630b99a
tools/testing/selftests/x86/ptrace_syscall.c
@@ -414,8 +414,12 @@ int main()
414
415
#if defined(__i386__) && (!defined(__GLIBC__) || __GLIBC__ > 2 || __GLIBC_MINOR__ >= 16)
416
vsyscall32 = (void *)getauxval(AT_SYSINFO);
417
- printf("[RUN]\tCheck AT_SYSINFO return regs\n");
418
- test_sys32_regs(do_full_vsyscall32);
+ if (vsyscall32) {
+ printf("[RUN]\tCheck AT_SYSINFO return regs\n");
419
+ test_sys32_regs(do_full_vsyscall32);
420
+ } else {
421
+ printf("[SKIP]\tAT_SYSINFO is not available\n");
422
+ }
423
#endif
424
425
test_ptrace_syscall_restart();
0 commit comments