mirror of https://gitee.com/openkylin/linux.git
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 | ||
Makefile | ||
gen_vdso_offsets.sh | ||
gettimeofday.S | ||
note.S | ||
sigreturn.S | ||
vdso.S | ||
vdso.lds.S |