diff options
author | Thomas Gleixner <[email protected]> | 2019-07-28 15:12:55 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2019-07-31 00:09:10 +0200 |
commit | d2f5d3fa26196183adb44a413c44caa9872275b4 (patch) | |
tree | 626f069300d13e15ccd8f835124cb17e68d113df /tools/testing/selftests/bpf | |
parent | c60a32ea4f459f99b98d383cad3b1ac7cfb3f4be (diff) |
x86/vdso/32: Use 32bit syscall fallback
The generic VDSO implementation uses the Y2038 safe clock_gettime64() and
clock_getres_time64() syscalls as fallback for 32bit VDSO. This breaks
seccomp setups because these syscalls might be not (yet) allowed.
Implement the 32bit variants which use the legacy syscalls and select the
variant in the core library.
The 64bit time variants are not removed because they are required for the
time64 based vdso accessors.
Fixes: 7ac870747988 ("x86/vdso: Switch to generic vDSO implementation")
Reported-by: Sean Christopherson <[email protected]>
Reported-by: Paul Bolle <[email protected]>
Suggested-by: Andy Lutomirski <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Vincenzo Frascino <[email protected]>
Reviewed-by: Andy Lutomirski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf')
0 files changed, 0 insertions, 0 deletions