futex: Adjust absolute futex timeouts with per time namespace offset
For all commands except FUTEX_WAIT, the timeout is interpreted as an absolute value. This absolute value is inside the task's time namespace and has to be converted to the host's time. Fixes: 5a590f35 ("posix-clocks: Wire up clock_gettime() with timens offsets") Reported-by: NHans van der Laan <j.h.vanderlaan@student.utwente.nl> Signed-off-by: NAndrei Vagin <avagin@gmail.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Reviewed-by: NDmitry Safonov <0x7f454c46@gmail.com> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20201015160020.293748-1-avagin@gmail.com
Showing
想要评论请 注册 或 登录