mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
e1b6b6ce55
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> |
||
---|---|---|
.. | ||
.gitignore | ||
gen_vdso_offsets.sh | ||
gettimeofday.S | ||
Makefile | ||
note.S | ||
sigreturn.S | ||
vdso.lds.S | ||
vdso.S |