[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190728131251.622415456@linutronix.de>
Date: Sun, 28 Jul 2019 15:12:51 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: LKML <linux-kernel@...r.kernel.org>
Cc: x86@...nel.org, Andy Lutomirski <luto@...nel.org>,
Vincenzo Frascino <vincenzo.frascino@....com>,
Sean Christopherson <sean.j.christopherson@...el.com>,
Kees Cook <keescook@...omium.org>,
Paul Bolle <pebolle@...cali.nl>, Will Deacon <will@...nel.org>
Subject: [patch 0/5] lib/vdso,
x86/vdso: Fix fallout from generic VDSO conversion
Several reporters noticed a regression with the new VDSO. 32bit user space
applications are tripping over seccomp filters with 5.3-rc. The reason is
that the 32bit VDSO syscall fallback uses clock_gettime64()/getres64() for
simplicity reasons. Existing seccomp filters do not enable the new 64bit
syscalls and prevent the applications from working correctly.
The following series addresses this by using the legacy 32bit syscall as
fallback in 32bit VDSOs.
Note, using the legacy syscall fallback is opt-in for now because otherwise
architectures which have their conversion queued in -next would break.
Once all are converted over, the conditional and the 64bit fallback
implementation can be removed.
Thanks,
tglx
8<--------------
arch/arm64/include/asm/vdso/compat_gettimeofday.h | 40 +++++++
arch/x86/include/asm/vdso/gettimeofday.h | 36 +++++++
lib/vdso/gettimeofday.c | 111 +++++++++++++++-------
3 files changed, 156 insertions(+), 31 deletions(-)
Powered by blists - more mailing lists