WSL2-Linux-Kernel/arch/arm64/kernel/vdso
Nathan Lynch e1b6b6ce55 arm64: vdso: minor ABI fix for clock_getres
The vdso implementation of clock_getres currently returns 0 (success)
whenever a null timespec is provided by the caller, regardless of the
clock id supplied.

This behavior is incorrect.  It should fall back to syscall when an
unrecognized clock id is passed, even when the timespec argument is
null.  This ensures that clock_getres always returns an error for
invalid clock ids.

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2015-02-26 18:13:51 +00:00
..
.gitignore arm64: VDSO support 2012-09-17 13:42:09 +01:00
Makefile arm64: vdso: fix build error when switching from LE to BE 2014-07-30 15:06:35 +01:00
gen_vdso_offsets.sh arm64: VDSO support 2012-09-17 13:42:09 +01:00
gettimeofday.S arm64: vdso: minor ABI fix for clock_getres 2015-02-26 18:13:51 +00:00
note.S arm64: VDSO support 2012-09-17 13:42:09 +01:00
sigreturn.S arm64: VDSO support 2012-09-17 13:42:09 +01:00
vdso.S arm64: VDSO support 2012-09-17 13:42:09 +01:00
vdso.lds.S arm64: vdso: move data page before code pages 2014-07-17 16:18:57 +01:00