Re: [PATCH] selftests: x86: add version check in test_syscall_vdso

2019-03-02 Thread shuah
On 3/2/19 2:10 AM, Greg KH wrote: On Fri, Mar 01, 2019 at 11:59:24AM -0800, Andy Lutomirski wrote: On Feb 28, 2019, at 4:18 PM, Steve Muckle wrote: Since 4.17 registers r8-r11 are not clobbered/zeroed by a 64-bit kernel handling a 32-bit syscall and this behavior is enforced by the test_syscal

Re: [PATCH] selftests: x86: add version check in test_syscall_vdso

2019-03-02 Thread Greg KH
On Fri, Mar 01, 2019 at 11:59:24AM -0800, Andy Lutomirski wrote: > > On Feb 28, 2019, at 4:18 PM, Steve Muckle wrote: > > > > Since 4.17 registers r8-r11 are not clobbered/zeroed by a 64-bit kernel > > handling a 32-bit syscall and this behavior is enforced by the > > test_syscall_vdso testcase. S

Re: [PATCH] selftests: x86: add version check in test_syscall_vdso

2019-03-01 Thread Andy Lutomirski
> On Feb 28, 2019, at 4:18 PM, Steve Muckle wrote: > > Since 4.17 registers r8-r11 are not clobbered/zeroed by a 64-bit kernel > handling a 32-bit syscall and this behavior is enforced by the > test_syscall_vdso testcase. See commit 8bb2610bc496 > ("x86/entry/64/compat: Preserve r8-r11 in int $0x8

[PATCH] selftests: x86: add version check in test_syscall_vdso

2019-02-28 Thread Steve Muckle
Since 4.17 registers r8-r11 are not clobbered/zeroed by a 64-bit kernel handling a 32-bit syscall and this behavior is enforced by the test_syscall_vdso testcase. See commit 8bb2610bc496 ("x86/entry/64/compat: Preserve r8-r11 in int $0x80"). Permit the old behavior in the testcase for kernels prio