Re: [PATCH v2] x86/asm/entry/32, selftests: Add test_syscall_vdso test

From: Ingo Molnar
Date: Sat Jun 13 2015 - 02:39:56 EST



* Denys Vlasenko <dvlasenk@xxxxxxxxxx> wrote:

> The test is fairly simplistic: it checks that all registers
> are preserved across 32-bit syscall via VDSO.
>
> Run-tested:
>
> $ ./test_syscall_vdso_32
> [RUN] Executing 6-argument 32-bit syscall via VDSO
> [Ok] Arguments are preserved across syscall
> [RUN] Executing 6-argument 32-bit syscall via INT 80
> [Ok] Arguments are preserved across syscall
> [RUN] Running tests under ptrace
> [RUN] Executing 6-argument 32-bit syscall via VDSO
> [Ok] Arguments are preserved across syscall
> [RUN] Executing 6-argument 32-bit syscall via INT 80
> [Ok] Arguments are preserved across syscall

Just curious: is there a kernel sha1 where this test would fail? Or did you try to
provoke an information leak perhaps?

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/